Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_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.0008766/0.0008771, 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.00109/0.00109, 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.467/1.467, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.648/2.648, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004046, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8436, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001604/0.8452, allocations: 1.21 MB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.8463, allocations: 0.6706 MB / 0.983 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.8463, allocations: 0 / 0.983 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.8464, allocations: 7.922 kB / 0.983 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.8464, allocations: 3.938 kB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.8469, allocations: 103.8 kB / 0.9831 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.847, allocations: 67.77 kB / 0.9831 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.8471, allocations: 11.97 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.8472, allocations: 31.92 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.8472, allocations: 31.83 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.8473, allocations: 4 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.8474, allocations: 87.91 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.8475, allocations: 11.92 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.8475, allocations: 41.7 kB / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.8477, allocations: 98.06 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.8477, allocations: 0 / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8477, allocations: 3.938 kB / 0.9835 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.8477, allocations: 0 / 0.9835 GB, free: 3.895 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.0005799/0.8483, allocations: 404.8 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.8484, allocations: 12.03 kB / 0.9838 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.8484, allocations: 42.55 kB / 0.9839 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.8484, allocations: 7.906 kB / 0.9839 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.8486, allocations: 170.9 kB / 0.9841 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.8486, allocations: 4 kB / 0.9841 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.8486, allocations: 4 kB / 0.9841 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.8488, allocations: 73.61 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8488, allocations: 0 / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8488, allocations: 0 / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8488, allocations: 0 / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.849, allocations: 51.91 kB / 0.9842 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.8496, allocations: 332.6 kB / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.8497, allocations: 46.56 kB / 0.9845 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.8498, allocations: 36.95 kB / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.8498, allocations: 4 kB / 0.9846 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.85, allocations: 87.31 kB / 0.9847 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.85, allocations: 0 / 0.9847 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003693/0.8504, allocations: 141.5 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.8504, allocations: 55.41 kB / 0.9849 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.8506, allocations: 125.8 kB / 0.985 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.8506, allocations: 25.7 kB / 0.985 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.8507, allocations: 92.33 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.8507, allocations: 15.86 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.8507, allocations: 4 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8508, allocations: 314.8 kB / 0.9854 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.8509, allocations: 35.91 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.851, allocations: 51 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.8511, allocations: 36.23 kB / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8511, allocations: 3.953 kB / 0.9855 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000233/0.8514, allocations: 125.5 kB / 0.9857 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8514, allocations: 8 kB / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8514, allocations: 0 / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8514, allocations: 0 / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.8515, allocations: 15.98 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8515, allocations: 0 / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.8516, allocations: 15.84 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.8516, allocations: 8.062 kB / 0.9857 GB, free: 1.348 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 8.518e-05/0.8517, allocations: 117.8 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.8517, allocations: 11.94 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.8518, allocations: 12.38 kB / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8518, allocations: 0 / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8518, allocations: 4 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8518, allocations: 0 / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.8522, allocations: 390.3 kB / 0.9862 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8522, allocations: 4 kB / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.8523, allocations: 4 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8523, allocations: 0 / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.8523, allocations: 7.984 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8523, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8523, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.8526, allocations: 215.4 kB / 0.9864 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.8526, allocations: 85.09 kB / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.8527, allocations: 0 / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.8528, allocations: 11.94 kB / 0.9865 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.8528, allocations: 11.98 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.8528, allocations: 3.938 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.8529, allocations: 95.42 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8529, allocations: 0 / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002997/0.8532, allocations: 36 kB / 0.9867 GB, free: 260 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.000806/0.854, allocations: 0.8182 MB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.8542, allocations: 80.27 kB / 0.9875 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8542, allocations: 0 / 0.9875 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.8543, allocations: 36.14 kB / 0.9876 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.8546, allocations: 8 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.8556, allocations: 0.599 MB / 0.9882 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.8559, allocations: 0.6926 MB / 0.9888 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.8559, allocations: 12.11 kB / 0.9889 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.8559, allocations: 19.38 kB / 0.9889 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.8559, allocations: 0 / 0.9889 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.8681, allocations: 2.331 MB / 0.9911 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.8683, allocations: 239.6 kB / 0.9914 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.688, allocations: 0 / 0.9914 GB, free: 11.46 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat does not exist to compare? outputFormat=mat