Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.001288/0.001288, 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.001569/0.001569, 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.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.425/2.425, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7513, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0008108/0.7522, allocations: 463.3 kB / 0.954 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7533, allocations: 1.115 MB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.7533, allocations: 1.406 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.7534, allocations: 0 / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.7534, allocations: 9.484 kB / 0.9551 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.7538, allocations: 114.2 kB / 0.9553 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.7539, allocations: 63.58 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.754, allocations: 18.03 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.7541, allocations: 42.84 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.7541, allocations: 29.3 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.7542, allocations: 9.594 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.562e-05/0.7542, allocations: 23.25 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.7543, allocations: 10.88 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.7544, allocations: 33.61 kB / 0.9555 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.7545, allocations: 77.88 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7545, allocations: 0 / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7545, allocations: 0 / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7545, allocations: 0 / 0.9555 GB, free: 6.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004224/0.755, allocations: 402.8 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.755, allocations: 9.625 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.755, allocations: 31.69 kB / 0.956 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.7551, allocations: 13.89 kB / 0.956 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.7552, allocations: 177.7 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7552, allocations: 3.844 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.7552, allocations: 6.719 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.7554, allocations: 71.31 kB / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7554, allocations: 1.25 kB / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.7554, allocations: 0 / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7554, allocations: 1.062 kB / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.7556, allocations: 60.72 kB / 0.9563 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.756, allocations: 328.4 kB / 0.9566 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.7562, allocations: 66.62 kB / 0.9567 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.7562, allocations: 1.031 kB / 0.9567 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.7564, allocations: 100.2 kB / 0.9568 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.7564, allocations: 0 / 0.9568 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000417/0.7569, allocations: 161.9 kB / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.7569, allocations: 53.59 kB / 0.957 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.757, allocations: 123.2 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.757, allocations: 27.98 kB / 0.9571 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.757, allocations: 96.12 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.7571, allocations: 18.84 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.7571, allocations: 5.969 kB / 0.9572 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.7571, allocations: 324.8 kB / 0.9575 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.7573, allocations: 52.62 kB / 0.9576 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.7575, allocations: 99.16 kB / 0.9577 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.7576, allocations: 87.11 kB / 0.9578 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7576, allocations: 1.188 kB / 0.9578 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003885/0.758, allocations: 218.2 kB / 0.958 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.7581, allocations: 36.83 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7581, allocations: 1.125 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7581, allocations: 6.609 kB / 0.958 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.808e-05/0.7582, allocations: 14.83 kB / 0.958 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7582, allocations: 5.219 kB / 0.958 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.7584, allocations: 52.27 kB / 0.9581 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.7585, allocations: 5.688 kB / 0.9581 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.677e-05/0.7586, allocations: 126.6 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.7586, allocations: 7.719 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.7586, allocations: 8.375 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7586, allocations: 6.078 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7586, allocations: 4 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7586, allocations: 0 / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.759, allocations: 380.9 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.759, allocations: 5.188 kB / 0.9586 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.7591, allocations: 19.86 kB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7591, allocations: 3.953 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.7591, allocations: 5.188 kB / 0.9586 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7591, allocations: 1.594 kB / 0.9586 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7591, allocations: 0 / 0.9586 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.7594, allocations: 214.9 kB / 0.9588 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.7594, allocations: 86.8 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.7594, allocations: 7.953 kB / 0.9589 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.7595, allocations: 11.36 kB / 0.9589 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.7596, allocations: 7.641 kB / 0.959 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.7596, allocations: 5.75 kB / 0.959 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.7596, allocations: 94.42 kB / 0.959 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7596, allocations: 1.75 kB / 0.959 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002576/0.7599, allocations: 27.72 kB / 0.9591 GB, free: 3.324 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004747/0.7604, allocations: 0.7584 MB / 0.9598 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.7607, allocations: 185.7 kB / 0.96 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7607, allocations: 0 / 0.96 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.7609, allocations: 47.95 kB / 0.96 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.7611, allocations: 17.44 kB / 0.9601 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.7617, allocations: 0.9927 MB / 0.961 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.7618, allocations: 0.6937 MB / 0.9617 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.7618, allocations: 11.64 kB / 0.9617 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.7619, allocations: 15.94 kB / 0.9617 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7619, allocations: 4 kB / 0.9617 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.7749, allocations: 2.19 MB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.7751, allocations: 178.8 kB / 0.964 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.457, allocations: 3.938 kB / 0.964 GB, free: 15.44 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat does not exist to compare? outputFormat=mat