Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.001127/0.001127, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001288/0.001288, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.575/2.575, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003375, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7712, allocations: 142.3 MB / 0.9538 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001326/0.7726, allocations: 1.202 MB / 0.955 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.7736, allocations: 0.6774 MB / 0.9557 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.7736, allocations: 0 / 0.9557 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.7737, allocations: 3.938 kB / 0.9557 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.7737, allocations: 6.188 kB / 0.9557 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.7742, allocations: 100.2 kB / 0.9558 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.7743, allocations: 66.23 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.7744, allocations: 12.94 kB / 0.9559 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.7745, allocations: 32.61 kB / 0.9559 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.633e-05/0.7745, allocations: 28.19 kB / 0.9559 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.7746, allocations: 7.312 kB / 0.9559 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.7747, allocations: 88.28 kB / 0.956 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.7747, allocations: 22.41 kB / 0.956 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.7748, allocations: 34.83 kB / 0.9561 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.7749, allocations: 91.47 kB / 0.9561 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7749, allocations: 5.344 kB / 0.9562 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7749, allocations: 0 / 0.9562 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.7749, allocations: 0 / 0.9562 GB, free: 6.496 MB / 0.7169 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.0004932/0.7754, allocations: 413.8 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.7755, allocations: 9.188 kB / 0.9566 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.7755, allocations: 32.5 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.7756, allocations: 10.61 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.7757, allocations: 175 kB / 0.9568 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.7758, allocations: 15.16 kB / 0.9568 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.7758, allocations: 3.219 kB / 0.9568 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.776, allocations: 66.69 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.776, allocations: 0 / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.776, allocations: 1.375 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.7761, allocations: 5.578 kB / 0.9569 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.7762, allocations: 53.38 kB / 0.9569 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.7769, allocations: 316.9 kB / 0.9572 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.777, allocations: 55.19 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.7771, allocations: 34.75 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.7772, allocations: 1.125 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.7774, allocations: 87.61 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.7774, allocations: 0 / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004736/0.7779, allocations: 156.6 kB / 0.9575 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.778, allocations: 52.53 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7781, allocations: 120.8 kB / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.7781, allocations: 26.77 kB / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.7782, allocations: 99.34 kB / 0.9578 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.7782, allocations: 10.81 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.7783, allocations: 4 kB / 0.9578 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.7783, allocations: 320.9 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.7784, allocations: 25.73 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.7785, allocations: 50.69 kB / 0.9582 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.7786, allocations: 35.39 kB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7787, allocations: 0 / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002661/0.7789, allocations: 122.1 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.779, allocations: 13.05 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.779, allocations: 1.406 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.779, allocations: 1.094 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.7791, allocations: 17.55 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.7791, allocations: 1.094 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.7792, allocations: 13.25 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7792, allocations: 6.891 kB / 0.9584 GB, free: 4.363 MB / 0.7169 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 0.0001026/0.7794, allocations: 126.5 kB / 0.9585 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.7794, allocations: 6.344 kB / 0.9585 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.7794, allocations: 14.52 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.7794, allocations: 1.156 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7794, allocations: 3.938 kB / 0.9586 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7794, allocations: 0 / 0.9586 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.7799, allocations: 389.8 kB / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7799, allocations: 0 / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.78, allocations: 11.62 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.78, allocations: 0 / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.78, allocations: 2 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.78, allocations: 4 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.78, allocations: 0 / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.7803, allocations: 215.9 kB / 0.9591 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.7804, allocations: 82.45 kB / 0.9592 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.7804, allocations: 9.234 kB / 0.9592 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.7805, allocations: 8.578 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.7806, allocations: 2.875 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.7806, allocations: 1.531 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.7807, allocations: 95.86 kB / 0.9593 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7807, allocations: 0 / 0.9593 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003731/0.7811, allocations: 40.98 kB / 0.9594 GB, free: 3.453 MB / 0.7169 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.0009434/0.7821, allocations: 0.8131 MB / 0.9602 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.7823, allocations: 83.09 kB / 0.9602 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7823, allocations: 4.125 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.7824, allocations: 39.3 kB / 0.9603 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.7827, allocations: 15.89 kB / 0.9603 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.7836, allocations: 0.587 MB / 0.9609 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.7837, allocations: 0.693 MB / 0.9616 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.7837, allocations: 2.938 kB / 0.9616 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.7838, allocations: 19.56 kB / 0.9616 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of SimCode: time 5.72e-07/0.7838, allocations: 0 / 0.9616 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.7974, allocations: 2.33 MB / 0.9639 GB, free: 360 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.7976, allocations: 254.5 kB / 0.9641 GB, free: 88 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.654, allocations: 0 / 0.9641 GB, free: 88 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat does not exist to compare? outputFormat=mat