Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.001182/0.001182, allocations: 99.39 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.00135/0.00135, 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.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.581/2.581, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8558, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0008544/0.8567, allocations: 421.9 kB / 0.954 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000832/0.8576, allocations: 0.8268 MB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.8576, allocations: 1.438 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.8576, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.8577, allocations: 5.359 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.8579, allocations: 13.92 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.8579, allocations: 32.06 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.858, allocations: 9.203 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.8581, allocations: 12.62 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.8582, allocations: 21.41 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.8582, allocations: 6.172 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.8582, allocations: 1.375 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.8582, allocations: 1.438 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.8583, allocations: 32.36 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.8583, allocations: 29.48 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.8583, allocations: 7.938 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8584, allocations: 0 / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8584, allocations: 1.312 kB / 0.955 GB, free: 6.949 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.0005702/0.8589, allocations: 387.7 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.859, allocations: 8.344 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.859, allocations: 36.05 kB / 0.9554 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.8591, allocations: 10.7 kB / 0.9554 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.8591, allocations: 161.7 kB / 0.9556 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.8592, allocations: 5.281 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.8592, allocations: 2.625 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.8594, allocations: 74.94 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8594, allocations: 0 / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8594, allocations: 1.125 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8594, allocations: 1.062 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.8596, allocations: 69.39 kB / 0.9557 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.8601, allocations: 296.7 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.8603, allocations: 57.08 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.8604, allocations: 5.359 kB / 0.9561 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.8604, allocations: 38.45 kB / 0.9561 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8604, allocations: 0 / 0.9561 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003754/0.8608, allocations: 108.7 kB / 0.9562 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.8608, allocations: 51.41 kB / 0.9562 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.8609, allocations: 114.1 kB / 0.9564 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.8609, allocations: 26.95 kB / 0.9564 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.861, allocations: 97 kB / 0.9565 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.861, allocations: 10.25 kB / 0.9565 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.861, allocations: 0 / 0.9565 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.8611, allocations: 312.1 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.8612, allocations: 32.34 kB / 0.9568 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.8613, allocations: 28.89 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.8614, allocations: 22.98 kB / 0.9569 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8614, allocations: 3.984 kB / 0.9569 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002187/0.8616, allocations: 88 kB / 0.9569 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8616, allocations: 9.797 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8617, allocations: 0 / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8617, allocations: 4.969 kB / 0.957 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.8617, allocations: 7.812 kB / 0.957 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8618, allocations: 4.953 kB / 0.957 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.8619, allocations: 29.33 kB / 0.957 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.8619, allocations: 1.938 kB / 0.957 GB, free: 5.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.668e-05/0.862, allocations: 111.9 kB / 0.9571 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.862, allocations: 6.031 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.8623, allocations: 100 kB / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8623, allocations: 1.344 kB / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8623, allocations: 0 / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8623, allocations: 0 / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.8624, allocations: 174.5 kB / 0.9574 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8624, allocations: 0 / 0.9574 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.8625, allocations: 12.16 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8625, allocations: 1.219 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.8625, allocations: 3.984 kB / 0.9574 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.8625, allocations: 3.953 kB / 0.9574 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8626, allocations: 1.188 kB / 0.9574 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.8628, allocations: 183.3 kB / 0.9576 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.8629, allocations: 78.3 kB / 0.9577 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.8629, allocations: 1.125 kB / 0.9577 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.863, allocations: 22.77 kB / 0.9577 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.8631, allocations: 18.53 kB / 0.9577 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.8631, allocations: 0.75 kB / 0.9577 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.8632, allocations: 91.33 kB / 0.9578 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8632, allocations: 0 / 0.9578 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002197/0.8634, allocations: 5.656 kB / 0.9578 GB, free: 4.242 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005099/0.8639, allocations: 0.7205 MB / 0.9585 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.8642, allocations: 60.95 kB / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8642, allocations: 0 / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.8643, allocations: 26.86 kB / 0.9586 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.8646, allocations: 16.66 kB / 0.9586 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.8657, allocations: 480.7 kB / 0.959 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.8659, allocations: 0.6866 MB / 0.9597 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.866, allocations: 1.25 kB / 0.9597 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.866, allocations: 13.88 kB / 0.9597 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.866, allocations: 0 / 0.9597 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.8802, allocations: 1.421 MB / 0.9611 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.8804, allocations: 191.5 kB / 0.9613 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.522, allocations: 4 kB / 0.9613 GB, free: 1.492 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat does not exist to compare? outputFormat=mat