Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.001284/0.001285, allocations: 99.86 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.001464/0.001464, 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.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.404/2.404, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8278, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007492/0.8286, allocations: 272.1 kB / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4e-05/0.8286, allocations: 8 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.8287, allocations: 0 / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.8287, allocations: 1.344 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.779e-05/0.8287, allocations: 0 / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.486e-05/0.8287, allocations: 0 / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.8288, allocations: 1.312 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.8289, allocations: 1.312 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.8289, allocations: 3.938 kB / 0.9539 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.015e-05/0.8289, allocations: 0 / 0.9539 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.8289, allocations: 1.281 kB / 0.9539 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-06/0.8289, allocations: 0 / 0.9539 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.829, allocations: 4 kB / 0.9539 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.829, allocations: 27.17 kB / 0.9539 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.11e-05/0.829, allocations: 3.984 kB / 0.9539 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.829, allocations: 0 / 0.9539 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.829, allocations: 0 / 0.9539 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.829, allocations: 1.25 kB / 0.9539 GB, free: 7.809 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001996/0.8293, allocations: 309.9 kB / 0.9542 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8293, allocations: 14.28 kB / 0.9542 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.8293, allocations: 30.56 kB / 0.9543 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.8294, allocations: 3.953 kB / 0.9543 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.152e-05/0.8295, allocations: 168.6 kB / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.8295, allocations: 0 / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.8295, allocations: 0 / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.831e-05/0.8296, allocations: 32.7 kB / 0.9545 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.8296, allocations: 0 / 0.9545 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.8296, allocations: 0 / 0.9545 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8296, allocations: 0 / 0.9545 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.8296, allocations: 5.234 kB / 0.9545 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.8299, allocations: 391.1 kB / 0.9548 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.83, allocations: 170.5 kB / 0.955 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.83, allocations: 83.27 kB / 0.9551 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.83, allocations: 107.4 kB / 0.9552 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.83, allocations: 4 kB / 0.9552 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.675e-05/0.8301, allocations: 31.16 kB / 0.9552 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.8301, allocations: 126.7 kB / 0.9553 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.8302, allocations: 96.28 kB / 0.9554 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.8302, allocations: 27.39 kB / 0.9555 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.8302, allocations: 88.08 kB / 0.9555 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.8302, allocations: 0 / 0.9555 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.8302, allocations: 0 / 0.9555 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.257e-05/0.8303, allocations: 316.3 kB / 0.9558 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-06/0.8303, allocations: 0 / 0.9558 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.8303, allocations: 0 / 0.9558 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.8303, allocations: 76.94 kB / 0.9559 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.8304, allocations: 75.28 kB / 0.956 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.622e-05/0.8304, allocations: 27.36 kB / 0.956 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.8305, allocations: 85.8 kB / 0.9561 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.8305, allocations: 80.47 kB / 0.9562 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/0.8305, allocations: 154.6 kB / 0.9563 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.357e-05/0.8305, allocations: 80.27 kB / 0.9564 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/0.8306, allocations: 159.5 kB / 0.9565 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.8306, allocations: 76.25 kB / 0.9566 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.8307, allocations: 84.22 kB / 0.9567 GB, free: 4.777 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.708e-05/0.8307, allocations: 265.5 kB / 0.9569 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.8308, allocations: 107 kB / 0.9571 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.8308, allocations: 109 kB / 0.9572 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.8309, allocations: 184.2 kB / 0.9573 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/0.8309, allocations: 181.3 kB / 0.9575 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-05/0.8309, allocations: 182.7 kB / 0.9577 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.8311, allocations: 403.1 kB / 0.9581 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.8311, allocations: 110.1 kB / 0.9582 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.8311, allocations: 102.6 kB / 0.9583 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.8312, allocations: 180.2 kB / 0.9584 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.8312, allocations: 181.8 kB / 0.9586 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.103e-05/0.8313, allocations: 185.6 kB / 0.9588 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/0.8313, allocations: 180.2 kB / 0.959 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.881e-05/0.8314, allocations: 308.2 kB / 0.9593 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.8314, allocations: 183.8 kB / 0.9594 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.8315, allocations: 181.6 kB / 0.9596 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.8315, allocations: 108.9 kB / 0.9597 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.8316, allocations: 189.5 kB / 0.9599 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.8316, allocations: 106.3 kB / 0.96 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.445e-05/0.8316, allocations: 77.78 kB / 0.9601 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8316, allocations: 0 / 0.9601 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002584/0.8319, allocations: 3.953 kB / 0.9601 GB, free: 1.125 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002803/0.8322, allocations: 0.8097 MB / 0.9609 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.311e-05/0.8322, allocations: 1.219 kB / 0.9609 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8322, allocations: 0 / 0.9609 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.8322, allocations: 0 / 0.9609 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.8325, allocations: 0.5326 MB / 0.9614 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/0.8332, allocations: 0.4943 MB / 0.9619 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.8334, allocations: 0.6799 MB / 0.9625 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.959e-06/0.8335, allocations: 0 / 0.9625 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.8335, allocations: 7.438 kB / 0.9625 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8335, allocations: 0 / 0.9625 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.8456, allocations: 0.7185 MB / 0.9632 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.8459, allocations: 195.7 kB / 0.9634 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.458, allocations: 0 / 0.9634 GB, free: 13.99 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat