Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.0009127/0.0009126, allocations: 100.1 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.0009041/0.0009042, 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.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.633/2.633, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 15.98 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7986, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002168/0.8008, allocations: 1.198 MB / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.8023, allocations: 0.6706 MB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.8024, allocations: 4 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.8024, allocations: 3.938 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.8025, allocations: 7.984 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.8031, allocations: 95.64 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.8033, allocations: 43.94 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.8034, allocations: 19.97 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.8035, allocations: 27.91 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.8036, allocations: 31.84 kB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.8036, allocations: 7.984 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.8038, allocations: 67.94 kB / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.8039, allocations: 15.91 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.8039, allocations: 33.7 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.8041, allocations: 98.02 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8041, allocations: 4 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8042, allocations: 0 / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8042, allocations: 0 / 0.9831 GB, free: 3.938 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.000788/0.805, allocations: 408.8 kB / 0.9835 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.805, allocations: 12.03 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.8051, allocations: 34.56 kB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.8051, allocations: 11.84 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.8053, allocations: 171 kB / 0.9837 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.8054, allocations: 8 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.8054, allocations: 4 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.8056, allocations: 77.59 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8056, allocations: 0 / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.8057, allocations: 0 / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8057, allocations: 3.938 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.8058, allocations: 47.97 kB / 0.9839 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.8065, allocations: 320.7 kB / 0.9842 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.8067, allocations: 54.55 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.8067, allocations: 0 / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.807, allocations: 83.48 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.807, allocations: 4 kB / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004682/0.8074, allocations: 149.5 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.8075, allocations: 55.41 kB / 0.9845 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.8076, allocations: 129.8 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.8077, allocations: 29.7 kB / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.8077, allocations: 84.33 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.8078, allocations: 15.81 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.8078, allocations: 4 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.808, allocations: 322.8 kB / 0.9851 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.808, allocations: 27.98 kB / 0.9851 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.8081, allocations: 50.55 kB / 0.9852 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.8082, allocations: 35.94 kB / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8083, allocations: 0 / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000255/0.8085, allocations: 125.4 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8085, allocations: 4 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.8086, allocations: 4 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8086, allocations: 4.062 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.8087, allocations: 15.97 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8087, allocations: 4 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.8088, allocations: 15.83 kB / 0.9854 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.8088, allocations: 8 kB / 0.9854 GB, free: 1.418 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.0001103/0.8089, allocations: 117.8 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.8089, allocations: 7.953 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.809, allocations: 8.375 kB / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.809, allocations: 0 / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.809, allocations: 0 / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.809, allocations: 7.984 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.8095, allocations: 382.4 kB / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8095, allocations: 0 / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.8096, allocations: 8 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8096, allocations: 3.938 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.8096, allocations: 7.938 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8096, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8096, allocations: 4 kB / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.8099, allocations: 227.3 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.81, allocations: 77.11 kB / 0.9862 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.81, allocations: 3.938 kB / 0.9862 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.8101, allocations: 7.984 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.8102, allocations: 4 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.8102, allocations: 11.98 kB / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.8103, allocations: 87.94 kB / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8103, allocations: 0 / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003589/0.8106, allocations: 39.98 kB / 0.9863 GB, free: 336 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.0009928/0.8116, allocations: 0.8176 MB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.8119, allocations: 79.89 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8119, allocations: 0 / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.812, allocations: 35.98 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.8122, allocations: 8.109 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.8132, allocations: 0.7205 MB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.8138, allocations: 0.6926 MB / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.8138, allocations: 12.11 kB / 0.9886 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.8139, allocations: 19.42 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.8139, allocations: 4 kB / 0.9887 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.8317, allocations: 2.307 MB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/0.8321, allocations: 244 kB / 0.9911 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.829, allocations: 4 kB / 0.9911 GB, free: 11.46 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat does not exist to compare? outputFormat=mat