Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001036/0.001036, allocations: 178.8 kB / 0.4901 GB, free: 2.254 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.546/1.546, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009659/0.0009659, allocations: 94.88 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 8.109 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.4975, allocations: 152.3 MB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4978, allocations: 91.88 kB / 1.378 GB, free: 1.059 MB / 0.8698 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.01103/0.5089, allocations: 3.292 MB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.587e-06/0.5089, allocations: 0 / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.509, allocations: 4 kB / 1.381 GB, free: 13.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007302/0.5097, allocations: 458.4 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.5098, allocations: 8.562 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.5098, allocations: 42.55 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.5099, allocations: 11.86 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.5101, allocations: 171 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.5101, allocations: 4 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.5101, allocations: 11.94 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.5104, allocations: 89.56 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5104, allocations: 4 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.5105, allocations: 7.984 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5105, allocations: 0 / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.5107, allocations: 51.97 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.5115, allocations: 352.5 kB / 1.383 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.5117, allocations: 62.55 kB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.5117, allocations: 0 / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.512, allocations: 107.5 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.512, allocations: 0 / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.000572/0.5126, allocations: 197.5 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.5126, allocations: 59.39 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5127, allocations: 116.1 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5128, allocations: 25.7 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.5128, allocations: 92.14 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.5129, allocations: 27.64 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.5129, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.513, allocations: 322.8 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.5131, allocations: 31.98 kB / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5133, allocations: 68.27 kB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.5134, allocations: 35.94 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5134, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002882/0.5137, allocations: 137.5 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5137, allocations: 8 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5137, allocations: 4.094 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5137, allocations: 0 / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5139, allocations: 23.92 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5139, allocations: 7.953 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.514, allocations: 4 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.514, allocations: 7.984 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001098/0.5141, allocations: 125.8 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.5141, allocations: 11.91 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.5142, allocations: 4.375 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5142, allocations: 0 / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5142, allocations: 0 / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5142, allocations: 11.89 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.5148, allocations: 430.5 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5149, allocations: 0 / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.5149, allocations: 4 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5149, allocations: 3.938 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.5149, allocations: 11.98 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.5149, allocations: 3.953 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5149, allocations: 0 / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.5153, allocations: 251.4 kB / 1.385 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.5154, allocations: 89 kB / 1.385 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.5154, allocations: 0 / 1.385 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5156, allocations: 8 kB / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.5156, allocations: 15.91 kB / 1.385 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.5156, allocations: 11.98 kB / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.5157, allocations: 103.3 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5157, allocations: 0 / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003354/0.5161, allocations: 55.88 kB / 1.385 GB, free: 9.789 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001007/0.5171, allocations: 0.8457 MB / 1.386 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.5174, allocations: 103.9 kB / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/0.5174, allocations: 0 / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5176, allocations: 55.91 kB / 1.386 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.5178, allocations: 19.88 kB / 1.386 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5189, allocations: 1.067 MB / 1.387 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5192, allocations: 0.6887 MB / 1.388 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.5192, allocations: 4 kB / 1.388 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.5193, allocations: 27.42 kB / 1.388 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of SimCode: time 4.308e-06/0.5193, allocations: 0 / 1.388 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.5361, allocations: 2.843 MB / 1.39 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.5363, allocations: 233.4 kB / 1.391 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.281, allocations: 0 / 1.391 GB, free: 3.973 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat