Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001006/0.001006, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001327/0.001327, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.344 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.504/2.504, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8184, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001393/0.8198, allocations: 1.195 MB / 0.955 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.8208, allocations: 0.6767 MB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.8209, allocations: 0 / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.8209, allocations: 1.469 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.821, allocations: 17.22 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.8215, allocations: 99.95 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.8216, allocations: 66.19 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.8217, allocations: 8.266 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.8218, allocations: 30.17 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.8218, allocations: 34.39 kB / 0.9559 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.8219, allocations: 4.469 kB / 0.9559 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.822, allocations: 88.22 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.8221, allocations: 10.8 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.8221, allocations: 34.33 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.8223, allocations: 108.5 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8223, allocations: 0 / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8223, allocations: 0 / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.8223, allocations: 0 / 0.9562 GB, free: 6.332 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.000521/0.8228, allocations: 409.8 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8229, allocations: 9.094 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.8229, allocations: 36.72 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.823, allocations: 14.98 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.823, allocations: 170.8 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.8231, allocations: 2.188 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.8231, allocations: 12.78 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8233, allocations: 70.02 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8233, allocations: 0 / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.8233, allocations: 0.9375 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8233, allocations: 4.891 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.8235, allocations: 45.44 kB / 0.9569 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.824, allocations: 322.2 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.8241, allocations: 58.92 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.8242, allocations: 34.5 kB / 0.9573 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.8242, allocations: 0.9688 kB / 0.9573 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.8244, allocations: 87.98 kB / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.8244, allocations: 0 / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004044/0.8248, allocations: 148 kB / 0.9575 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.8249, allocations: 57.25 kB / 0.9576 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.8249, allocations: 124.6 kB / 0.9577 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.825, allocations: 30.95 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.825, allocations: 87.58 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.825, allocations: 14.47 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.825, allocations: 0 / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.8251, allocations: 321.6 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.8252, allocations: 33.36 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.8253, allocations: 53.58 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.8253, allocations: 32.27 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8254, allocations: 0 / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002098/0.8256, allocations: 118.1 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8256, allocations: 9.609 kB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8256, allocations: 5.328 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8256, allocations: 1.406 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/0.8257, allocations: 13.56 kB / 0.9584 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8257, allocations: 0 / 0.9584 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.8258, allocations: 18.8 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.8258, allocations: 1.938 kB / 0.9584 GB, free: 4.207 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 6.869e-05/0.8259, allocations: 119.9 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.8259, allocations: 5.75 kB / 0.9585 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.8259, allocations: 18.19 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.826, allocations: 1.812 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.826, allocations: 0 / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.826, allocations: 0 / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.8264, allocations: 388 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8264, allocations: 0 / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.8264, allocations: 12.55 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8264, allocations: 5.203 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.8264, allocations: 0 / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8264, allocations: 9.391 kB / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8265, allocations: 0 / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.8267, allocations: 218.9 kB / 0.9592 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.8267, allocations: 82.52 kB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.8268, allocations: 5.391 kB / 0.9592 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.8268, allocations: 7.953 kB / 0.9592 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.8269, allocations: 6.938 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8269, allocations: 10.86 kB / 0.9593 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.8269, allocations: 95.86 kB / 0.9594 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8269, allocations: 0 / 0.9594 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003089/0.8273, allocations: 36.97 kB / 0.9594 GB, free: 3.285 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.0006689/0.8279, allocations: 0.8092 MB / 0.9602 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.8282, allocations: 70.72 kB / 0.9602 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8282, allocations: 8.062 kB / 0.9603 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.8283, allocations: 43.28 kB / 0.9603 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.8285, allocations: 14.02 kB / 0.9603 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.8295, allocations: 0.596 MB / 0.9609 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.8296, allocations: 0.6927 MB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.8297, allocations: 3.5 kB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.8297, allocations: 22.23 kB / 0.9616 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8297, allocations: 0 / 0.9616 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.844, allocations: 2.332 MB / 0.9639 GB, free: 188 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.8443, allocations: 242.2 kB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.766, allocations: 0 / 0.9641 GB, free: 15.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat does not exist to compare? outputFormat=mat