Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001033/0.001033, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.468/1.468, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.0009349, allocations: 103.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.687e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2965, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9692/1.266, allocations: 150.8 MB / 1.353 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.266, allocations: 84.38 kB / 1.353 GB, free: 18.09 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.01082/1.277, allocations: 3.246 MB / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.277, allocations: 0 / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.277, allocations: 3.875 kB / 1.357 GB, free: 33.62 MB / 0.8386 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.0005383/1.277, allocations: 460.7 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.278, allocations: 11.66 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/1.278, allocations: 7.75 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.278, allocations: 174.9 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/1.278, allocations: 0 / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/1.278, allocations: 6.703 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.862e-05/1.278, allocations: 25.91 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/1.278, allocations: 76.3 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.278, allocations: 2.812 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.278, allocations: 3.984 kB / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.278, allocations: 3.812 kB / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/1.279, allocations: 324.4 kB / 1.358 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/1.279, allocations: 51.16 kB / 1.358 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/1.279, allocations: 41.08 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/1.279, allocations: 7.969 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/1.279, allocations: 80.12 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/1.279, allocations: 0 / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003025/1.279, allocations: 121.8 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/1.279, allocations: 55.25 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/1.28, allocations: 110.6 kB / 1.358 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.28, allocations: 29.58 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/1.28, allocations: 92.31 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.28, allocations: 22.14 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/1.28, allocations: 0 / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.28, allocations: 324.5 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/1.28, allocations: 18.19 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/1.28, allocations: 56.45 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.315e-05/1.28, allocations: 27.5 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.28, allocations: 0 / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001471/1.28, allocations: 107.9 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.28, allocations: 3.875 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.28, allocations: 0 / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.28, allocations: 3.812 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/1.28, allocations: 18.86 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.28, allocations: 4.094 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/1.28, allocations: 10.47 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.28, allocations: 3.844 kB / 1.359 GB, free: 31.87 MB / 0.8386 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 () * 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 8.247e-05/1.281, allocations: 116.6 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001892/1.281, allocations: 126.5 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/1.281, allocations: 14.14 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/1.281, allocations: 4.625 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.281, allocations: 7.844 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.281, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.281, allocations: 4.641 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/1.281, allocations: 372.2 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/1.281, allocations: 6.984 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/1.281, allocations: 3.875 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.281, allocations: 0 / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/1.281, allocations: 10.5 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.281, allocations: 3.938 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.281, allocations: 7.953 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/1.282, allocations: 222.8 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/1.282, allocations: 84.89 kB / 1.36 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/1.282, allocations: 0 / 1.36 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.282, allocations: 11.05 kB / 1.36 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/1.282, allocations: 10.41 kB / 1.36 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.282, allocations: 6.594 kB / 1.36 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.203e-05/1.282, allocations: 97.22 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.282, allocations: 0 / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003241/1.282, allocations: 49.16 kB / 1.36 GB, free: 31.09 MB / 0.8386 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) * 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.0008308/1.283, allocations: 0.83 MB / 1.361 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001504/1.283, allocations: 70.77 kB / 1.361 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.283, allocations: 0 / 1.361 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/1.283, allocations: 35.17 kB / 1.361 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/1.283, allocations: 10.72 kB / 1.361 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/1.284, allocations: 169.8 kB / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.284, allocations: 0.6954 MB / 1.362 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.32e-05/1.284, allocations: 3.906 kB / 1.362 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/1.284, allocations: 25.22 kB / 1.362 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.284, allocations: 0 / 1.362 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/1.306, allocations: 2.515 MB / 1.364 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.306, allocations: 181.9 kB / 1.364 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.808, allocations: 0 / 1.364 GB, free: 29.18 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat