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.0008238/0.0008237, allocations: 85.94 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.0009204/0.0009205, 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.414 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.535/2.535, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003614, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8206, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.0016/0.8223, allocations: 1.197 MB / 0.955 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.8233, allocations: 0.6777 MB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.8234, allocations: 0 / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.8234, allocations: 3.938 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.8235, allocations: 7.156 kB / 0.9557 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.824, allocations: 99.33 kB / 0.9558 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.8241, allocations: 69.89 kB / 0.9559 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.8242, allocations: 9.375 kB / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.8243, allocations: 28.97 kB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.8244, allocations: 35.36 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.8244, allocations: 3.406 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.8246, allocations: 88.38 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.8247, allocations: 14.5 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.8247, allocations: 35.92 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.8249, allocations: 99.27 kB / 0.9562 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8249, allocations: 4 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8249, allocations: 0 / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8249, allocations: 0.8438 kB / 0.9562 GB, free: 6.281 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.0005804/0.8255, allocations: 405.8 kB / 0.9565 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.8256, allocations: 9.188 kB / 0.9566 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.8256, allocations: 35.47 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.8257, allocations: 11.2 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.8258, allocations: 175.4 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.8258, allocations: 6.906 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.8258, allocations: 6.953 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.826, allocations: 70.41 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.826, allocations: 1.188 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.826, allocations: 3.938 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.826, allocations: 5.141 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.8262, allocations: 45.94 kB / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.8267, allocations: 321.9 kB / 0.9572 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.8268, allocations: 51 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.8269, allocations: 34.12 kB / 0.9573 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.827, allocations: 1.125 kB / 0.9573 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.8271, allocations: 87.86 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.8271, allocations: 4 kB / 0.9574 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000379/0.8275, allocations: 153 kB / 0.9575 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.8276, allocations: 59.19 kB / 0.9576 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.8276, allocations: 113.9 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.8277, allocations: 27.27 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.8277, allocations: 94.72 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8277, allocations: 14.47 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.8277, allocations: 1.062 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.8278, allocations: 320.9 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.8279, allocations: 28.73 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.828, allocations: 51.06 kB / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.8281, allocations: 39.88 kB / 0.9582 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8281, allocations: 0 / 0.9582 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002302/0.8283, allocations: 122.6 kB / 0.9584 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8283, allocations: 8.891 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8284, allocations: 5.438 kB / 0.9584 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8284, allocations: 1.188 kB / 0.9584 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.8285, allocations: 12.61 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8285, allocations: 1.469 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.8286, allocations: 17.05 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.8286, allocations: 7.734 kB / 0.9584 GB, free: 4.152 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 7.474e-05/0.8287, allocations: 119.2 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.8287, allocations: 5.875 kB / 0.9585 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.8287, allocations: 14.14 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8287, allocations: 1.781 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8287, allocations: 0 / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8287, allocations: 3.938 kB / 0.9585 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.8291, allocations: 383.8 kB / 0.9589 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8291, allocations: 1.438 kB / 0.9589 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.8291, allocations: 13.16 kB / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8292, allocations: 0 / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.8292, allocations: 0 / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8292, allocations: 5.094 kB / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8292, allocations: 0 / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.8294, allocations: 223.4 kB / 0.9591 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.8295, allocations: 82.8 kB / 0.9592 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.8295, allocations: 4.891 kB / 0.9592 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.8296, allocations: 4.031 kB / 0.9592 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.8296, allocations: 11.42 kB / 0.9592 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-06/0.8297, allocations: 1.875 kB / 0.9592 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.8297, allocations: 95.67 kB / 0.9593 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8297, allocations: 0 / 0.9593 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003268/0.83, allocations: 40.86 kB / 0.9594 GB, free: 3.242 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.0006556/0.8307, allocations: 0.812 MB / 0.9602 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.8309, allocations: 82.44 kB / 0.9602 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8309, allocations: 5.781 kB / 0.9603 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.831, allocations: 34.77 kB / 0.9603 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.8313, allocations: 17.02 kB / 0.9603 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.8322, allocations: 0.5909 MB / 0.9609 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.8324, allocations: 0.6891 MB / 0.9616 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.8324, allocations: 12.23 kB / 0.9616 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.8325, allocations: 18.19 kB / 0.9616 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.8325, allocations: 0 / 0.9616 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.8464, allocations: 2.323 MB / 0.9639 GB, free: 128 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.8466, allocations: 241.2 kB / 0.9641 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.719, allocations: 0 / 0.9641 GB, free: 15.89 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