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.0008418/0.0008418, allocations: 86.48 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.0008622/0.0008623, 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.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.589/2.589, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8791, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001767/0.881, allocations: 1.21 MB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.8823, allocations: 0.6667 MB / 0.983 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.8823, allocations: 0 / 0.983 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.8824, allocations: 7.938 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.8824, allocations: 11.91 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.8829, allocations: 99.78 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.883, allocations: 67.77 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.8831, allocations: 15.97 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.8832, allocations: 23.92 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.8833, allocations: 31.89 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.8833, allocations: 4 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.8835, allocations: 87.84 kB / 0.9833 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.8836, allocations: 19.92 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.8836, allocations: 33.7 kB / 0.9834 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.8838, allocations: 106 kB / 0.9835 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8838, allocations: 0 / 0.9835 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8838, allocations: 0 / 0.9835 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8838, allocations: 0 / 0.9835 GB, free: 3.871 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.0006425/0.8845, allocations: 408.8 kB / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8845, allocations: 8.031 kB / 0.9839 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.8845, allocations: 38.56 kB / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.8846, allocations: 7.906 kB / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.8847, allocations: 170.9 kB / 0.9841 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.8848, allocations: 4 kB / 0.9841 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.8848, allocations: 11.94 kB / 0.9841 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.885, allocations: 73.59 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.885, allocations: 0 / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.885, allocations: 4 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.885, allocations: 4 kB / 0.9842 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.8851, allocations: 39.97 kB / 0.9842 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.8857, allocations: 332.7 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.8859, allocations: 54.55 kB / 0.9846 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.886, allocations: 32.97 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.886, allocations: 0 / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.8862, allocations: 83.31 kB / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8862, allocations: 0 / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.00039/0.8866, allocations: 149.5 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8867, allocations: 59.47 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.8868, allocations: 121.8 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.8868, allocations: 29.7 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.8869, allocations: 88.33 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.8869, allocations: 11.81 kB / 0.9851 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.8869, allocations: 4 kB / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.887, allocations: 322.8 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.8871, allocations: 23.98 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.8872, allocations: 54.55 kB / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.857e-05/0.8873, allocations: 35.98 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.8873, allocations: 3.953 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000223/0.8876, allocations: 117.5 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8876, allocations: 9.078 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8876, allocations: 4 kB / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.8876, allocations: 0 / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.8877, allocations: 8 kB / 0.9857 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.8877, allocations: 4 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.8878, allocations: 23.89 kB / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.8878, allocations: 4 kB / 0.9857 GB, free: 1.328 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.317e-05/0.8879, allocations: 113.8 kB / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.8879, allocations: 7.953 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.888, allocations: 12.36 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.888, allocations: 3.938 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.888, allocations: 4 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.888, allocations: 7.938 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.8885, allocations: 390.8 kB / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8885, allocations: 0 / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.8886, allocations: 4 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8886, allocations: 0 / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.8886, allocations: 11.92 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8886, allocations: 80 / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.8886, allocations: 7.922 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.8889, allocations: 219.4 kB / 0.9864 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.889, allocations: 77.11 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.889, allocations: 4 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.8891, allocations: 11.98 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.8891, allocations: 4 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.8892, allocations: 7.984 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.8892, allocations: 91.92 kB / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8892, allocations: 0 / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000303/0.8895, allocations: 36 kB / 0.9867 GB, free: 236 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.0008491/0.8904, allocations: 0.8155 MB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.8906, allocations: 79.97 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8906, allocations: 0 / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.8907, allocations: 39.97 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.891, allocations: 7.938 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.8921, allocations: 0.6025 MB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.8924, allocations: 0.6887 MB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.8924, allocations: 4.188 kB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.8925, allocations: 23.42 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8925, allocations: 0 / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.9062, allocations: 2.334 MB / 0.9912 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.9065, allocations: 249.2 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.752, allocations: 0 / 0.9914 GB, free: 11.39 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