Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001239/0.001239, allocations: 100.1 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.0009713/0.0009713, 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.68/2.68, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8652, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001717/0.867, allocations: 1.268 MB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.8682, allocations: 0.7406 MB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.8682, allocations: 0 / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.8683, allocations: 7.922 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.8684, allocations: 15.97 kB / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.8689, allocations: 111.7 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.869, allocations: 79.81 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.8691, allocations: 23.98 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.8692, allocations: 55.81 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.8693, allocations: 67.72 kB / 0.9832 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.8694, allocations: 8 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.8695, allocations: 59.95 kB / 0.9832 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.8696, allocations: 31.88 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.8696, allocations: 41.64 kB / 0.9833 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.8698, allocations: 138 kB / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8698, allocations: 0 / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8699, allocations: 0 / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.8699, allocations: 0 / 0.9834 GB, free: 3.621 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007087/0.8706, allocations: 466.2 kB / 0.9839 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8706, allocations: 12.03 kB / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.8707, allocations: 34.56 kB / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.8707, allocations: 15.91 kB / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8709, allocations: 175.5 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.8709, allocations: 8 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.8709, allocations: 7.984 kB / 0.9841 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.8712, allocations: 105.5 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8712, allocations: 0 / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.8713, allocations: 7.984 kB / 0.9842 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.8713, allocations: 4 kB / 0.9842 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.8715, allocations: 71.89 kB / 0.9843 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.8723, allocations: 376.7 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.8725, allocations: 74.48 kB / 0.9847 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.8725, allocations: 4 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.8728, allocations: 115.3 kB / 0.9848 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.8728, allocations: 3.938 kB / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005477/0.8734, allocations: 229.4 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.8734, allocations: 55.41 kB / 0.9851 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.8736, allocations: 150.2 kB / 0.9853 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.8736, allocations: 29.7 kB / 0.9853 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.8737, allocations: 92.38 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.8737, allocations: 27.7 kB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.8738, allocations: 0 / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8739, allocations: 326.8 kB / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.874, allocations: 43.91 kB / 0.9858 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.8742, allocations: 86.89 kB / 0.9858 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.8743, allocations: 43.98 kB / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8743, allocations: 0 / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003369/0.8747, allocations: 177.4 kB / 0.9861 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8747, allocations: 4 kB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8747, allocations: 0 / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8747, allocations: 4 kB / 0.9861 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.8749, allocations: 24.08 kB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.8749, allocations: 3.984 kB / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.875, allocations: 19.83 kB / 0.9861 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.875, allocations: 8 kB / 0.9861 GB, free: 0.6211 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001133/0.8751, allocations: 125.2 kB / 0.9862 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.8752, allocations: 11.86 kB / 0.9862 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.8752, allocations: 20.7 kB / 0.9863 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8752, allocations: 0 / 0.9863 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8752, allocations: 0 / 0.9863 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8752, allocations: 0 / 0.9863 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.8759, allocations: 478.7 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8759, allocations: 4 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.876, allocations: 11.98 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.876, allocations: 0 / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.876, allocations: 8 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.876, allocations: 0 / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.876, allocations: 0 / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.8764, allocations: 283.3 kB / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.8765, allocations: 88.95 kB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.8765, allocations: 3.938 kB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.8767, allocations: 11.98 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.8767, allocations: 3.938 kB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.8768, allocations: 15.98 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.8768, allocations: 103.8 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8768, allocations: 0 / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003433/0.8772, allocations: 47.98 kB / 0.9873 GB, free: 15.33 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009289/0.8781, allocations: 0.8629 MB / 0.9881 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.8785, allocations: 127.9 kB / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8785, allocations: 0 / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.8786, allocations: 63.91 kB / 0.9883 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.8788, allocations: 12.12 kB / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.8799, allocations: 1.084 MB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.8803, allocations: 0.7043 MB / 0.9901 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.8803, allocations: 11.92 kB / 0.9901 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.8804, allocations: 27.42 kB / 0.9901 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.8804, allocations: 0 / 0.9901 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.9013, allocations: 2.982 MB / 0.993 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/0.9016, allocations: 245.1 kB / 0.9932 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.64, allocations: 0 / 0.9932 GB, free: 9.258 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat