Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001133/0.001133, allocations: 100.2 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.001236/0.001237, 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003134, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.855, allocations: 142.3 MB / 0.9536 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001819/0.8569, allocations: 1.21 MB / 0.9548 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.8582, allocations: 0.6968 MB / 0.9555 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.8583, allocations: 3.938 kB / 0.9555 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.8583, allocations: 0 / 0.9555 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.8584, allocations: 27.27 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.859, allocations: 99.78 kB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.8592, allocations: 58.77 kB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.8593, allocations: 14.05 kB / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.8594, allocations: 37.58 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.8595, allocations: 48.09 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.8596, allocations: 5.031 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.8598, allocations: 72 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.8598, allocations: 19.88 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.8599, allocations: 40.25 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.8601, allocations: 115.8 kB / 0.956 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.8601, allocations: 0 / 0.956 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8601, allocations: 0 / 0.956 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8601, allocations: 1.219 kB / 0.956 GB, free: 6.496 MB / 0.7169 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.0006333/0.8607, allocations: 444.1 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8608, allocations: 12.72 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.8609, allocations: 40.64 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.8609, allocations: 14.8 kB / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.861, allocations: 171.3 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.861, allocations: 2.906 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.8611, allocations: 8.531 kB / 0.9566 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.8613, allocations: 84.97 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8613, allocations: 4 kB / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.8614, allocations: 0 / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.8614, allocations: 1.656 kB / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.8616, allocations: 61.94 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.8624, allocations: 332.8 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.8626, allocations: 68.95 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.8626, allocations: 5.469 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.8629, allocations: 101 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.8629, allocations: 0 / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000566/0.8634, allocations: 193.2 kB / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.8635, allocations: 53.84 kB / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.8636, allocations: 133.5 kB / 0.9576 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8636, allocations: 26.77 kB / 0.9577 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.8637, allocations: 94.95 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.8637, allocations: 26.69 kB / 0.9578 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.8637, allocations: 1.75 kB / 0.9578 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.8638, allocations: 316.4 kB / 0.9581 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.8639, allocations: 43.44 kB / 0.9581 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.864, allocations: 62.16 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.8641, allocations: 45.41 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8641, allocations: 1.781 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002569/0.8644, allocations: 132.8 kB / 0.9583 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8644, allocations: 6 kB / 0.9583 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8644, allocations: 1.344 kB / 0.9584 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8645, allocations: 6.391 kB / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.8646, allocations: 22.52 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.8646, allocations: 5.938 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/0.8647, allocations: 9.812 kB / 0.9584 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.8647, allocations: 7.625 kB / 0.9584 GB, free: 4.234 MB / 0.7169 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 9.447e-05/0.8648, allocations: 129.7 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.8648, allocations: 6.75 kB / 0.9585 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.8649, allocations: 11.16 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.8649, allocations: 3.953 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8649, allocations: 1.344 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8649, allocations: 0 / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.8654, allocations: 426.3 kB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8655, allocations: 0 / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.8655, allocations: 17.67 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.8655, allocations: 3.953 kB / 0.959 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8655, allocations: 1 kB / 0.959 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8656, allocations: 1.219 kB / 0.959 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8656, allocations: 0 / 0.959 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.866, allocations: 259.2 kB / 0.9592 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.866, allocations: 83.58 kB / 0.9593 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.866, allocations: 5.172 kB / 0.9593 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.8661, allocations: 6.156 kB / 0.9593 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.8662, allocations: 11.05 kB / 0.9593 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.8662, allocations: 5.328 kB / 0.9593 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.8663, allocations: 94.8 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8663, allocations: 0 / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003608/0.8667, allocations: 43.41 kB / 0.9595 GB, free: 3.273 MB / 0.7169 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.0008547/0.8675, allocations: 0.845 MB / 0.9603 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.8678, allocations: 99.39 kB / 0.9604 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8678, allocations: 5.312 kB / 0.9604 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.868, allocations: 47.67 kB / 0.9604 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.8682, allocations: 18.12 kB / 0.9604 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.8691, allocations: 1.048 MB / 0.9615 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.8693, allocations: 0.6957 MB / 0.9622 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.778e-05/0.8694, allocations: 7.906 kB / 0.9622 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.8695, allocations: 23.55 kB / 0.9622 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8695, allocations: 0 / 0.9622 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.8857, allocations: 2.637 MB / 0.9648 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.8859, allocations: 237.6 kB / 0.965 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.68, allocations: 0 / 0.965 GB, free: 15.15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat