Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.001175/0.001175, allocations: 99.7 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.001141/0.001141, 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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.41/2.41, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8114, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001478/0.813, allocations: 1.198 MB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.814, allocations: 0.6708 MB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.814, allocations: 1.312 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.8141, allocations: 3.938 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.8141, allocations: 13.52 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.8146, allocations: 90.58 kB / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.8147, allocations: 47.16 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.8148, allocations: 13.64 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.8149, allocations: 32.53 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.815, allocations: 35.2 kB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.815, allocations: 4.156 kB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.8152, allocations: 69.66 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.8152, allocations: 18.91 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.8152, allocations: 30.48 kB / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.8154, allocations: 95.95 kB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.8154, allocations: 0 / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8154, allocations: 1.312 kB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.8154, allocations: 0 / 0.9559 GB, free: 6.355 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.0005287/0.816, allocations: 417.5 kB / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.816, allocations: 9.312 kB / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.8161, allocations: 39.78 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.8161, allocations: 11.61 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.8162, allocations: 175 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.8162, allocations: 2.125 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.8163, allocations: 3.125 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.8164, allocations: 71.28 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8165, allocations: 0 / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8165, allocations: 4 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8165, allocations: 4.953 kB / 0.9566 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.8166, allocations: 42.5 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.8172, allocations: 325.6 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.8173, allocations: 50.64 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.8173, allocations: 2.125 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.8175, allocations: 91.12 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.8175, allocations: 0 / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003805/0.8179, allocations: 148.7 kB / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.8179, allocations: 53.53 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.818, allocations: 128.5 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.818, allocations: 26.83 kB / 0.9574 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.8181, allocations: 90.64 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.8181, allocations: 15.25 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.8181, allocations: 0 / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.8182, allocations: 321.3 kB / 0.9578 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.8183, allocations: 32.7 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.8183, allocations: 63.08 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.8184, allocations: 27.66 kB / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8184, allocations: 0 / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.8187, allocations: 125.6 kB / 0.958 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8187, allocations: 13.84 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8187, allocations: 3.953 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8187, allocations: 2.406 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.8188, allocations: 12.64 kB / 0.9581 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8188, allocations: 1.469 kB / 0.9581 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.8189, allocations: 14.83 kB / 0.9581 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.8189, allocations: 4.938 kB / 0.9581 GB, free: 4.23 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 8.14e-05/0.819, allocations: 119.2 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.819, allocations: 6.875 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.8191, allocations: 12.31 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8191, allocations: 3.953 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8191, allocations: 3.938 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8191, allocations: 3.984 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.8195, allocations: 384.4 kB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8195, allocations: 0 / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.8195, allocations: 4.375 kB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8195, allocations: 3.953 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8195, allocations: 1.812 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8195, allocations: 0 / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8195, allocations: 1.469 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.8198, allocations: 217.5 kB / 0.9588 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.8198, allocations: 84.48 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.8198, allocations: 7.953 kB / 0.9589 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.8199, allocations: 8.516 kB / 0.9589 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.82, allocations: 3.062 kB / 0.9589 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.82, allocations: 13.61 kB / 0.9589 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.82, allocations: 92.16 kB / 0.959 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.82, allocations: 0 / 0.959 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000291/0.8203, allocations: 35.89 kB / 0.959 GB, free: 3.324 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.0006376/0.821, allocations: 0.8113 MB / 0.9598 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.8212, allocations: 82.55 kB / 0.9599 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8212, allocations: 0 / 0.9599 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.8213, allocations: 35.58 kB / 0.9599 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.8215, allocations: 14.62 kB / 0.96 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/0.8221, allocations: 0.7158 MB / 0.9607 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.8223, allocations: 0.6969 MB / 0.9613 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.8223, allocations: 8.297 kB / 0.9614 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.8224, allocations: 18.17 kB / 0.9614 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8224, allocations: 0 / 0.9614 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.8349, allocations: 2.294 MB / 0.9636 GB, free: 16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.8352, allocations: 233 kB / 0.9638 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.591, allocations: 0 / 0.9638 GB, free: 15.76 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat does not exist to compare? outputFormat=mat