Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.001009/0.001009, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001413/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.41 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.483/2.483, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 16 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.787, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0008394/0.7879, allocations: 452.9 kB / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.7893, allocations: 1.234 MB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.7894, allocations: 1.188 kB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.7894, allocations: 7.922 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.7895, allocations: 14 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.7901, allocations: 218.1 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.7903, allocations: 207.8 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.7904, allocations: 14.09 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.7905, allocations: 89.7 kB / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.7907, allocations: 76.95 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.7907, allocations: 12.38 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.7908, allocations: 31.59 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.7908, allocations: 22.19 kB / 0.9562 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.7909, allocations: 53.98 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.791, allocations: 153.8 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7911, allocations: 0 / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7911, allocations: 0 / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7911, allocations: 0 / 0.9564 GB, free: 6.223 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005015/0.7916, allocations: 472.6 kB / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7916, allocations: 8.969 kB / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.7917, allocations: 41.73 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.7917, allocations: 24.23 kB / 0.9569 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.7922, allocations: 260.1 kB / 0.9571 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.7923, allocations: 12.22 kB / 0.9571 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.7923, allocations: 19.61 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.7925, allocations: 138.5 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7925, allocations: 0 / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.7926, allocations: 2.125 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7926, allocations: 10.33 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.7927, allocations: 62.45 kB / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.7933, allocations: 0.5223 MB / 0.9579 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.7936, allocations: 157 kB / 0.958 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.7937, allocations: 66.47 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.7937, allocations: 1.375 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.794, allocations: 211.7 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.794, allocations: 1.062 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0005573/0.7946, allocations: 308.2 kB / 0.9586 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.7946, allocations: 93.67 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.7947, allocations: 126.4 kB / 0.9588 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.7948, allocations: 41.52 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.7948, allocations: 98.91 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.7949, allocations: 54.34 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.7949, allocations: 8.062 kB / 0.959 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.795, allocations: 322.1 kB / 0.9593 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.7951, allocations: 85.52 kB / 0.9594 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.7953, allocations: 149.5 kB / 0.9595 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.7955, allocations: 143.2 kB / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7955, allocations: 5.312 kB / 0.9597 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005233/0.796, allocations: 358.8 kB / 0.96 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.7961, allocations: 69.91 kB / 0.9601 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.7961, allocations: 6.75 kB / 0.9601 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.7961, allocations: 2.75 kB / 0.9601 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.7962, allocations: 24.52 kB / 0.9601 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.7962, allocations: 8.125 kB / 0.9601 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.7966, allocations: 91.34 kB / 0.9602 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.7966, allocations: 21.61 kB / 0.9602 GB, free: 2.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001223/0.7968, allocations: 139 kB / 0.9604 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.7968, allocations: 16.2 kB / 0.9604 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.7968, allocations: 22.55 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7968, allocations: 2.156 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.7969, allocations: 5.156 kB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7969, allocations: 5.109 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.7975, allocations: 0.6085 MB / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.7975, allocations: 0 / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.7975, allocations: 14.8 kB / 0.961 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.7975, allocations: 1.031 kB / 0.961 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.7976, allocations: 11.83 kB / 0.961 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7976, allocations: 4.844 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7976, allocations: 0.7812 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.798, allocations: 413.3 kB / 0.9614 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.798, allocations: 88.67 kB / 0.9615 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.7981, allocations: 15.94 kB / 0.9615 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.7982, allocations: 15.55 kB / 0.9615 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.7983, allocations: 33.77 kB / 0.9616 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.7983, allocations: 9.344 kB / 0.9616 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.7984, allocations: 100.2 kB / 0.9617 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7984, allocations: 96 / 0.9617 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000366/0.7987, allocations: 58.8 kB / 0.9617 GB, free: 1.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006512/0.7994, allocations: 0.9678 MB / 0.9627 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.7999, allocations: 342.2 kB / 0.963 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7999, allocations: 0 / 0.963 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.8001, allocations: 120.8 kB / 0.9631 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.8004, allocations: 31.34 kB / 0.9632 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.802, allocations: 0.9756 MB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.8023, allocations: 0.7128 MB / 0.9648 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.101e-05/0.8024, allocations: 19.55 kB / 0.9648 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.8025, allocations: 36.95 kB / 0.9649 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.8025, allocations: 0 / 0.9649 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.8157, allocations: 3.627 MB / 0.9684 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.8159, allocations: 189.3 kB / 0.9686 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.605, allocations: 0 / 0.9686 GB, free: 13.12 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat