Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001099/0.001099, allocations: 90.75 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.001487/0.001487, 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.375 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.423/2.423, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003621, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8941, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00132/0.8954, allocations: 1.201 MB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.8963, allocations: 0.6662 MB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.8964, allocations: 4 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.8964, allocations: 11.86 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.8965, allocations: 10.98 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.8969, allocations: 99.33 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.897, allocations: 65.89 kB / 0.9559 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.8971, allocations: 9.312 kB / 0.9559 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.8972, allocations: 29.06 kB / 0.9559 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.8973, allocations: 39.2 kB / 0.9559 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.8973, allocations: 7.375 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.8975, allocations: 80.52 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.8976, allocations: 18.25 kB / 0.956 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.8976, allocations: 39.72 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.8978, allocations: 91.56 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8978, allocations: 0 / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8978, allocations: 0 / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.8978, allocations: 1.281 kB / 0.9562 GB, free: 6.273 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.0006465/0.8985, allocations: 414.2 kB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.8986, allocations: 9.344 kB / 0.9566 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.8986, allocations: 39.83 kB / 0.9566 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.8987, allocations: 11.14 kB / 0.9566 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.8988, allocations: 163 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.8989, allocations: 11.05 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.8989, allocations: 4.344 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.8992, allocations: 69.16 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.8992, allocations: 1.25 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.8992, allocations: 7.984 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.8993, allocations: 5.172 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.8995, allocations: 41.77 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.9003, allocations: 325.6 kB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.9005, allocations: 55.23 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.9006, allocations: 38 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.9007, allocations: 1.531 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.9009, allocations: 84.73 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.9009, allocations: 0 / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000592/0.9015, allocations: 151.7 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.9016, allocations: 57.58 kB / 0.9576 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.9017, allocations: 117.3 kB / 0.9577 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.9018, allocations: 29.7 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.9018, allocations: 92.25 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.9019, allocations: 13.59 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.9019, allocations: 0 / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.902, allocations: 326.6 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.9021, allocations: 23.11 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.9022, allocations: 56.03 kB / 0.9582 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.9024, allocations: 38.67 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9024, allocations: 1.375 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003642/0.9028, allocations: 117.6 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.9028, allocations: 9.016 kB / 0.9584 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9029, allocations: 1.625 kB / 0.9584 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.9029, allocations: 1.438 kB / 0.9584 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.9031, allocations: 20.36 kB / 0.9584 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.9031, allocations: 1.312 kB / 0.9584 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.9032, allocations: 9.531 kB / 0.9584 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.9032, allocations: 2.875 kB / 0.9584 GB, free: 4.148 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 9.826e-05/0.9033, allocations: 128.3 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.9033, allocations: 5.656 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.9034, allocations: 14.23 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9034, allocations: 5.906 kB / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9034, allocations: 0 / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9034, allocations: 0 / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.904, allocations: 380.6 kB / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.904, allocations: 0 / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.9041, allocations: 17.06 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.9041, allocations: 4 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.9041, allocations: 1.156 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9042, allocations: 80 / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9042, allocations: 9.297 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.9046, allocations: 211.3 kB / 0.9591 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.9046, allocations: 89.77 kB / 0.9592 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.9047, allocations: 4.984 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.9048, allocations: 4.5 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.9049, allocations: 6.516 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.9049, allocations: 2.438 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.905, allocations: 95.73 kB / 0.9593 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.905, allocations: 1.5 kB / 0.9593 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005846/0.9056, allocations: 39.45 kB / 0.9594 GB, free: 3.23 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.001167/0.9068, allocations: 0.8154 MB / 0.9602 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.9072, allocations: 79.22 kB / 0.9602 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9072, allocations: 0 / 0.9602 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.9073, allocations: 38.36 kB / 0.9603 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.9078, allocations: 15.58 kB / 0.9603 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.9092, allocations: 0.5911 MB / 0.9609 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.9094, allocations: 0.6852 MB / 0.9615 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.52e-05/0.9095, allocations: 6.922 kB / 0.9616 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.9095, allocations: 24.11 kB / 0.9616 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.9095, allocations: 0 / 0.9616 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.9272, allocations: 2.321 MB / 0.9638 GB, free: 124 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.9276, allocations: 254.9 kB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.684, allocations: 0 / 0.9641 GB, free: 15.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat