Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.528/2.528, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 180 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.1 MB / 0.7992 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009945, allocations: 92.38 kB / 0.9396 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005036, allocations: 9.766 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2968, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.488, allocations: 152 MB / 1.378 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4883, allocations: 83.95 kB / 1.378 GB, free: 13.12 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009964/0.4983, allocations: 3.034 MB / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4983, allocations: 0 / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4984, allocations: 0 / 1.381 GB, free: 10.08 MB / 0.8855 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.0006229/0.499, allocations: 432.7 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4991, allocations: 12.56 kB / 1.381 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.4991, allocations: 34.5 kB / 1.381 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.4992, allocations: 15.86 kB / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4993, allocations: 167.1 kB / 1.381 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.4993, allocations: 7.938 kB / 1.381 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.4994, allocations: 0 / 1.381 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4996, allocations: 77.66 kB / 1.381 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4996, allocations: 0 / 1.381 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4996, allocations: 3.984 kB / 1.381 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4996, allocations: 3.938 kB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4998, allocations: 47.91 kB / 1.382 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.5004, allocations: 316.8 kB / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.5006, allocations: 46.56 kB / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5006, allocations: 4 kB / 1.382 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.5008, allocations: 79.69 kB / 1.382 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.5008, allocations: 3.938 kB / 1.382 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000416/0.5012, allocations: 153.5 kB / 1.382 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5013, allocations: 59.47 kB / 1.382 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.5014, allocations: 112.9 kB / 1.382 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5014, allocations: 29.7 kB / 1.382 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.5015, allocations: 92.31 kB / 1.382 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.5015, allocations: 15.75 kB / 1.382 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.5015, allocations: 4 kB / 1.382 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5016, allocations: 314.8 kB / 1.383 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.5017, allocations: 39.97 kB / 1.383 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.5018, allocations: 50.94 kB / 1.383 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.502, allocations: 39.92 kB / 1.383 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.502, allocations: 0 / 1.383 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002529/0.5023, allocations: 117.8 kB / 1.383 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5023, allocations: 4.781 kB / 1.383 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5023, allocations: 0 / 1.383 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5023, allocations: 7.938 kB / 1.383 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.5024, allocations: 15.98 kB / 1.383 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.5024, allocations: 4.031 kB / 1.383 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.5025, allocations: 12.06 kB / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.5025, allocations: 3.984 kB / 1.383 GB, free: 7.555 MB / 0.8855 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 (occ.y,$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.0001057/0.5027, allocations: 125.8 kB / 1.383 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.5027, allocations: 7.906 kB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.5027, allocations: 8.375 kB / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5027, allocations: 0 / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5027, allocations: 0 / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5027, allocations: 7.953 kB / 1.383 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.5032, allocations: 386.5 kB / 1.384 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5032, allocations: 0 / 1.384 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.5033, allocations: 11.92 kB / 1.384 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5033, allocations: 0 / 1.384 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5033, allocations: 0 / 1.384 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5033, allocations: 11.95 kB / 1.384 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5033, allocations: 0 / 1.384 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.5036, allocations: 207.4 kB / 1.384 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.5037, allocations: 85.09 kB / 1.384 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.5037, allocations: 7.938 kB / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.5038, allocations: 8 kB / 1.384 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.5039, allocations: 11.94 kB / 1.384 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.5039, allocations: 0 / 1.384 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.504, allocations: 95.27 kB / 1.384 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.504, allocations: 0 / 1.384 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003257/0.5043, allocations: 55.86 kB / 1.384 GB, free: 6.445 MB / 0.8855 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,occ.y,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.0009117/0.5052, allocations: 0.8154 MB / 1.385 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.5055, allocations: 79.89 kB / 1.385 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5055, allocations: 0 / 1.385 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.5056, allocations: 31.98 kB / 1.385 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.5058, allocations: 23.86 kB / 1.385 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.5066, allocations: 0.7251 MB / 1.386 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5069, allocations: 0.6887 MB / 1.386 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.507, allocations: 12.11 kB / 1.386 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.507, allocations: 19.44 kB / 1.386 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.507, allocations: 0 / 1.386 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.5209, allocations: 2.503 MB / 1.389 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.5211, allocations: 235.7 kB / 1.389 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.118, allocations: 2.688 kB / 1.389 GB, free: 1.395 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat