Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_latest_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.00101/0.00101, allocations: 99.86 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.0009533/0.0009534, 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.697/2.697, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8228, allocations: 146.8 MB / 0.9809 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001657/0.8246, allocations: 1.194 MB / 0.982 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.8257, allocations: 0.6745 MB / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.8258, allocations: 0 / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.8258, allocations: 7.875 kB / 0.9827 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.8259, allocations: 15.97 kB / 0.9827 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.8263, allocations: 91.64 kB / 0.9828 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.8264, allocations: 51.92 kB / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.8265, allocations: 7.984 kB / 0.9829 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.8266, allocations: 31.92 kB / 0.9829 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.8267, allocations: 39.81 kB / 0.9829 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.8267, allocations: 0 / 0.9829 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.8268, allocations: 63.94 kB / 0.983 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.8269, allocations: 15.92 kB / 0.983 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.8269, allocations: 33.7 kB / 0.983 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.8271, allocations: 106 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.8271, allocations: 0 / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8271, allocations: 0 / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.8271, allocations: 0 / 0.9831 GB, free: 4.047 MB / 0.7325 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.0005321/0.8276, allocations: 412.8 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8277, allocations: 8.031 kB / 0.9835 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.8277, allocations: 38.55 kB / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.8278, allocations: 11.91 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.8279, allocations: 166.9 kB / 0.9837 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.8279, allocations: 8 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.8279, allocations: 4 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.8281, allocations: 73.61 kB / 0.9838 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.8282, allocations: 0 / 0.9838 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8282, allocations: 3.984 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.8282, allocations: 4 kB / 0.9838 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.8283, allocations: 39.98 kB / 0.9839 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.8289, allocations: 324.7 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.829, allocations: 54.56 kB / 0.9842 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.8291, allocations: 4.062 kB / 0.9842 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.8292, allocations: 75.5 kB / 0.9843 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.8293, allocations: 0 / 0.9843 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003717/0.8296, allocations: 153.5 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.8297, allocations: 51.41 kB / 0.9845 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.8298, allocations: 129.8 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8298, allocations: 29.7 kB / 0.9847 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.8298, allocations: 88.33 kB / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.8299, allocations: 23.78 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.8299, allocations: 4 kB / 0.9848 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.83, allocations: 314.8 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.8301, allocations: 31.97 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.8302, allocations: 46.56 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/0.8303, allocations: 43.86 kB / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8303, allocations: 0 / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002315/0.8305, allocations: 121.5 kB / 0.9853 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.8305, allocations: 8 kB / 0.9853 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.8305, allocations: 4.062 kB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.8306, allocations: 0 / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.8307, allocations: 19.98 kB / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8307, allocations: 0 / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.8307, allocations: 11.84 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.8308, allocations: 4 kB / 0.9853 GB, free: 1.539 MB / 0.7325 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.042e-05/0.8309, allocations: 124.4 kB / 0.9855 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.8309, allocations: 15.94 kB / 0.9855 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.8309, allocations: 8.375 kB / 0.9855 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8309, allocations: 0 / 0.9855 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8309, allocations: 0 / 0.9855 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.8309, allocations: 0 / 0.9855 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.8314, allocations: 386.8 kB / 0.9859 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8314, allocations: 8 kB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.8314, allocations: 4 kB / 0.9859 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.8314, allocations: 0 / 0.9859 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.8314, allocations: 11.86 kB / 0.9859 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8315, allocations: 0 / 0.9859 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8315, allocations: 0 / 0.9859 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.8317, allocations: 223.4 kB / 0.9861 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.8318, allocations: 85.09 kB / 0.9862 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.8318, allocations: 0 / 0.9862 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.8319, allocations: 7.984 kB / 0.9862 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.8319, allocations: 7.984 kB / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.8319, allocations: 0 / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.832, allocations: 95.27 kB / 0.9863 GB, free: 492 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.832, allocations: 0 / 0.9863 GB, free: 492 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000298/0.8323, allocations: 40 kB / 0.9863 GB, free: 452 kB / 0.7325 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.0007306/0.8331, allocations: 0.8221 MB / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.8333, allocations: 71.89 kB / 0.9872 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8333, allocations: 0 / 0.9872 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.8334, allocations: 44.11 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.8336, allocations: 5.031 kB / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.8343, allocations: 0.7205 MB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.8345, allocations: 0.6887 MB / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.8345, allocations: 4.188 kB / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.8346, allocations: 27.42 kB / 0.9886 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8346, allocations: 0 / 0.9886 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.8477, allocations: 2.31 MB / 0.9909 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.8479, allocations: 247.5 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.535, allocations: 0 / 0.9911 GB, free: 11.59 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat does not exist to compare? outputFormat=mat