Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.0009194/0.0009196, allocations: 87.03 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.001233/0.001233, 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.451/1.451, allocations: 223.2 MB / 240 MB, free: 5.391 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.0003455/0.0003456, allocations: 8 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7613, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002128/0.7635, allocations: 1.198 MB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.7649, allocations: 0.6706 MB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.765, allocations: 0 / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.765, allocations: 7.922 kB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.7651, allocations: 11.92 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.7657, allocations: 99.77 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.7658, allocations: 71.77 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.7659, allocations: 7.984 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.766, allocations: 31.91 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.7661, allocations: 35.83 kB / 0.9832 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.7661, allocations: 8 kB / 0.9832 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.7664, allocations: 75.92 kB / 0.9833 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.7664, allocations: 15.92 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.7664, allocations: 37.69 kB / 0.9834 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.7666, allocations: 106 kB / 0.9835 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7667, allocations: 0 / 0.9835 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.696e-06/0.7667, allocations: 3.984 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.7667, allocations: 0 / 0.9835 GB, free: 3.84 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.0006193/0.7673, allocations: 404.8 kB / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7674, allocations: 12.03 kB / 0.9839 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.7674, allocations: 38.48 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.7675, allocations: 7.906 kB / 0.9839 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7676, allocations: 171 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.7677, allocations: 0 / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.7677, allocations: 4 kB / 0.9841 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.7679, allocations: 81.59 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.768, allocations: 4 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.768, allocations: 3.984 kB / 0.9841 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.768, allocations: 4 kB / 0.9842 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.7681, allocations: 39.98 kB / 0.9842 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.7689, allocations: 328.7 kB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.769, allocations: 46.56 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.7691, allocations: 32.97 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.7692, allocations: 8 kB / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.7694, allocations: 79.31 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.7694, allocations: 0 / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004314/0.7699, allocations: 149.6 kB / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.7699, allocations: 59.39 kB / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.77, allocations: 121.8 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.7701, allocations: 29.7 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.7702, allocations: 92.31 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.7702, allocations: 15.75 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.7702, allocations: 0 / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7703, allocations: 322.8 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.7704, allocations: 31.98 kB / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.7706, allocations: 50.5 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.7707, allocations: 32.3 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.7708, allocations: 7.953 kB / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002492/0.771, allocations: 125.5 kB / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.771, allocations: 8 kB / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7711, allocations: 0 / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7711, allocations: 0 / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.7712, allocations: 15.98 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7712, allocations: 4.062 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.7713, allocations: 11.84 kB / 0.9857 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.7713, allocations: 4 kB / 0.9857 GB, free: 1.297 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 0.0001124/0.7714, allocations: 125.8 kB / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.7714, allocations: 7.953 kB / 0.9858 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.7715, allocations: 4.375 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7715, allocations: 4 kB / 0.9858 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7715, allocations: 4 kB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7715, allocations: 0 / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.772, allocations: 382.4 kB / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.772, allocations: 0 / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.772, allocations: 15.92 kB / 0.9862 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.7721, allocations: 3.938 kB / 0.9862 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.7721, allocations: 4 kB / 0.9862 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7721, allocations: 0 / 0.9862 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7721, allocations: 0 / 0.9862 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.7724, allocations: 223.3 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.7724, allocations: 81.11 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.7725, allocations: 0 / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.7726, allocations: 11.98 kB / 0.9865 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.7726, allocations: 7.984 kB / 0.9865 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.7726, allocations: 4 kB / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.7727, allocations: 91.92 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7727, allocations: 0 / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003278/0.773, allocations: 39.98 kB / 0.9867 GB, free: 208 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.0008899/0.7739, allocations: 0.8212 MB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.7742, allocations: 80.2 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7742, allocations: 0 / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.7743, allocations: 44.11 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.7746, allocations: 5.203 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.7756, allocations: 0.6085 MB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.776, allocations: 0.6848 MB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.488e-05/0.776, allocations: 8.172 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.7761, allocations: 15.44 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/0.7761, allocations: 4 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.7893, allocations: 2.322 MB / 0.9911 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.7896, allocations: 257.5 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.607, allocations: 0 / 0.9914 GB, free: 11.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat does not exist to compare? outputFormat=mat