Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.721/2.721, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8221, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001747/0.8239, allocations: 1.175 MB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.8249, allocations: 0.6784 MB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.825, allocations: 3.938 kB / 0.9827 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.825, allocations: 7.922 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.825, allocations: 15.92 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.8255, allocations: 87.77 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.8256, allocations: 51.86 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.8257, allocations: 11.98 kB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.8257, allocations: 31.91 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.8258, allocations: 31.89 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.8258, allocations: 4 kB / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.826, allocations: 79.8 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.826, allocations: 7.984 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.8261, allocations: 37.64 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.8262, allocations: 102.1 kB / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.8262, allocations: 0 / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8262, allocations: 0 / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.8262, allocations: 0 / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005139/0.8268, allocations: 404.8 kB / 0.9835 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8268, allocations: 16.02 kB / 0.9835 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.8268, allocations: 34.56 kB / 0.9836 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.8269, allocations: 11.91 kB / 0.9836 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.827, allocations: 167 kB / 0.9837 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.827, allocations: 4 kB / 0.9837 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.8271, allocations: 11.98 kB / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.8272, allocations: 73.61 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8272, allocations: 7.875 kB / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.8273, allocations: 0 / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.8273, allocations: 0 / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.8274, allocations: 47.97 kB / 0.9839 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.828, allocations: 320.7 kB / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.8281, allocations: 50.56 kB / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.8282, allocations: 3.984 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.8283, allocations: 83.44 kB / 0.9843 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.8284, allocations: 4 kB / 0.9843 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000372/0.8287, allocations: 141.5 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.8288, allocations: 59.39 kB / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.8289, allocations: 117.8 kB / 0.9846 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.8289, allocations: 33.7 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.8289, allocations: 88.31 kB / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.829, allocations: 23.88 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.829, allocations: 0 / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.8291, allocations: 326.8 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.8292, allocations: 27.98 kB / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.8293, allocations: 46.56 kB / 0.9851 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.8294, allocations: 39.92 kB / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8294, allocations: 0 / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002301/0.8296, allocations: 121.5 kB / 0.9853 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8296, allocations: 4 kB / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8297, allocations: 8.062 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.8297, allocations: 0 / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.8298, allocations: 11.98 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8298, allocations: 4.391 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.8299, allocations: 19.72 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.8299, allocations: 4 kB / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.83, allocations: 123 kB / 0.9855 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.83, allocations: 11.95 kB / 0.9855 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.83, allocations: 4.375 kB / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.83, allocations: 0 / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.83, allocations: 0 / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.83, allocations: 4 kB / 0.9855 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.8305, allocations: 394.3 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8305, allocations: 4 kB / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.8305, allocations: 7.984 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8305, allocations: 0 / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.8306, allocations: 4 kB / 0.9859 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8306, allocations: 0 / 0.9859 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8306, allocations: 0 / 0.9859 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.8309, allocations: 223.4 kB / 0.9861 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.8309, allocations: 77.11 kB / 0.9861 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.8309, allocations: 0 / 0.9861 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.831, allocations: 4 kB / 0.9862 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.8311, allocations: 11.92 kB / 0.9862 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.8311, allocations: 8 kB / 0.9862 GB, free: 500 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.8312, allocations: 95.86 kB / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8312, allocations: 0 / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000316/0.8315, allocations: 47.92 kB / 0.9863 GB, free: 356 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007902/0.8323, allocations: 0.8083 MB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.8325, allocations: 83.83 kB / 0.9872 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8325, allocations: 0 / 0.9872 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.8327, allocations: 40.05 kB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.8328, allocations: 4 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.8336, allocations: 0.7264 MB / 0.9879 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.8339, allocations: 0.6887 MB / 0.9886 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.8339, allocations: 4.734 kB / 0.9886 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.834, allocations: 26.17 kB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.834, allocations: 0 / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.8479, allocations: 2.315 MB / 0.9909 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.8482, allocations: 243.1 kB / 0.9911 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.741, allocations: 0 / 0.9911 GB, free: 11.46 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat does not exist to compare? outputFormat=mat