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.001026/0.001026, allocations: 86.33 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.001024/0.001024, 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.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.336 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.506/2.506, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8111, 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.OnOffController): time 0.0009562/0.8121, allocations: 424.6 kB / 0.9543 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.8131, allocations: 0.8255 MB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.8131, allocations: 1.125 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.8132, allocations: 0 / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.8133, allocations: 7.938 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.8135, allocations: 19.09 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.8135, allocations: 34.02 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.8137, allocations: 17.44 kB / 0.9552 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.8137, allocations: 13.67 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.8138, allocations: 17.48 kB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.8138, allocations: 0.9062 kB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.8138, allocations: 2.688 kB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.8138, allocations: 13.42 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.8139, allocations: 31.02 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.011e-05/0.8139, allocations: 30.8 kB / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8139, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.814, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.814, allocations: 0 / 0.9553 GB, free: 6.98 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.0005053/0.8145, allocations: 393 kB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8145, allocations: 8.312 kB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.8146, allocations: 32.12 kB / 0.9557 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.8146, allocations: 10.77 kB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.8147, allocations: 165.6 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.8147, allocations: 5.25 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.8147, allocations: 10.58 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.8149, allocations: 63.11 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8149, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.815, allocations: 5.062 kB / 0.9559 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.815, allocations: 1.062 kB / 0.9559 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.8152, allocations: 61.47 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.8158, allocations: 304.6 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.8161, allocations: 60.98 kB / 0.9563 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.8162, allocations: 33.47 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.8162, allocations: 1.031 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.8163, allocations: 38.5 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8163, allocations: 1.094 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004148/0.8167, allocations: 107.4 kB / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.8167, allocations: 60.53 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.8168, allocations: 109.6 kB / 0.9567 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8169, allocations: 25.7 kB / 0.9567 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.8169, allocations: 98.34 kB / 0.9568 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.8169, allocations: 9.219 kB / 0.9568 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.817, allocations: 4 kB / 0.9568 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.817, allocations: 313.1 kB / 0.9571 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.8171, allocations: 27.59 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.8172, allocations: 24.7 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.8173, allocations: 27.39 kB / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8173, allocations: 4.812 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002135/0.8176, allocations: 84.06 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8176, allocations: 12.33 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8176, allocations: 1.031 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8176, allocations: 0 / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.8177, allocations: 13.17 kB / 0.9573 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8177, allocations: 0 / 0.9573 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.8178, allocations: 26.72 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.8178, allocations: 9.188 kB / 0.9573 GB, free: 5.023 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 8.622e-05/0.8179, allocations: 108.5 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.818, allocations: 2.125 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.8182, allocations: 103.2 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8183, allocations: 5.094 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8183, allocations: 0 / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8183, allocations: 1.094 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.8184, allocations: 165.3 kB / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8185, allocations: 384 / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.8185, allocations: 13.05 kB / 0.9577 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8185, allocations: 0 / 0.9577 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.8185, allocations: 0 / 0.9577 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8186, allocations: 9.172 kB / 0.9577 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8186, allocations: 4 kB / 0.9577 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.8188, allocations: 184.4 kB / 0.9579 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.8189, allocations: 78.2 kB / 0.958 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.8189, allocations: 5.094 kB / 0.958 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.819, allocations: 21.2 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.8191, allocations: 14.81 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.8191, allocations: 5.391 kB / 0.958 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.8192, allocations: 86.75 kB / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8192, allocations: 0 / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002186/0.8194, allocations: 10.66 kB / 0.9581 GB, free: 4.246 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.0005218/0.8199, allocations: 0.7155 MB / 0.9588 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.8201, allocations: 57.2 kB / 0.9589 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8202, allocations: 0 / 0.9589 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.8203, allocations: 30.61 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.8206, allocations: 11.95 kB / 0.9589 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.8215, allocations: 479 kB / 0.9594 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.8217, allocations: 0.6803 MB / 0.96 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.8217, allocations: 6.125 kB / 0.96 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.8218, allocations: 22.52 kB / 0.96 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8218, allocations: 0 / 0.96 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.8336, allocations: 1.441 MB / 0.9615 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.8338, allocations: 195.6 kB / 0.9616 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.5, allocations: 0 / 0.9616 GB, free: 1.496 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