Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",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.00084/0.0008399, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008116/0.0008116, allocations: 172.7 kB / 15.95 MB, free: 208 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.312 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.523/2.523, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6602, allocations: 142.3 MB / 0.9539 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.0006928/0.6609, allocations: 399.2 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.6616, allocations: 0.7861 MB / 0.955 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.6616, allocations: 0.8438 kB / 0.955 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.6616, allocations: 3.938 kB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.6617, allocations: 1.188 kB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-05/0.6617, allocations: 9.234 kB / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.6618, allocations: 16.22 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/0.6619, allocations: 10.98 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.6619, allocations: 13.77 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.998e-05/0.662, allocations: 7.453 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.662, allocations: 1.156 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.662, allocations: 5.156 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.662, allocations: 4 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.662, allocations: 32.14 kB / 0.9551 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.866e-05/0.6621, allocations: 11.25 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6621, allocations: 0 / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6621, allocations: 3.984 kB / 0.9551 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.6621, allocations: 0 / 0.9551 GB, free: 7.023 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002862/0.6624, allocations: 349.2 kB / 0.9555 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6624, allocations: 8.438 kB / 0.9555 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.404e-05/0.6625, allocations: 31.97 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.6625, allocations: 5.078 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.6626, allocations: 164.3 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6626, allocations: 1.625 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.6626, allocations: 4.688 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.6628, allocations: 53.89 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.6628, allocations: 0 / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.6628, allocations: 5.375 kB / 0.9557 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6628, allocations: 3.938 kB / 0.9557 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.6629, allocations: 51.97 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.6632, allocations: 247.9 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.6633, allocations: 52.64 kB / 0.9561 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.6634, allocations: 23.5 kB / 0.9561 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.6634, allocations: 0 / 0.9561 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.6635, allocations: 39.97 kB / 0.9561 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.6635, allocations: 0 / 0.9561 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002973/0.6638, allocations: 99.22 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.6638, allocations: 51.41 kB / 0.9563 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.6638, allocations: 112.3 kB / 0.9564 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.6639, allocations: 25.7 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.6639, allocations: 85.58 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.6639, allocations: 5.375 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.6639, allocations: 0 / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.664, allocations: 312.1 kB / 0.9568 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.664, allocations: 22.05 kB / 0.9568 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.6641, allocations: 29.62 kB / 0.9568 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.6642, allocations: 22.64 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6642, allocations: 0 / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001641/0.6644, allocations: 74.11 kB / 0.9569 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.6644, allocations: 8.422 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6644, allocations: 0 / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6644, allocations: 5.328 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.6645, allocations: 10.36 kB / 0.957 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6645, allocations: 5.281 kB / 0.957 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.6646, allocations: 15.14 kB / 0.957 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.6646, allocations: 1.375 kB / 0.957 GB, free: 5.184 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.93e-05/0.6646, allocations: 111.3 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.6647, allocations: 1.5 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.6647, allocations: 7.109 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.6647, allocations: 1.344 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6647, allocations: 3.953 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.6647, allocations: 4 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.6648, allocations: 155.4 kB / 0.9572 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6648, allocations: 0 / 0.9572 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.6649, allocations: 15.73 kB / 0.9573 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6649, allocations: 0 / 0.9573 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.6649, allocations: 3.938 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6649, allocations: 1.906 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6649, allocations: 0 / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.6651, allocations: 179.5 kB / 0.9574 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.6651, allocations: 78.05 kB / 0.9575 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.6651, allocations: 0.9688 kB / 0.9575 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.6652, allocations: 15.45 kB / 0.9575 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.6653, allocations: 5.094 kB / 0.9575 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.6653, allocations: 0.9062 kB / 0.9575 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.6653, allocations: 88.12 kB / 0.9576 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6653, allocations: 0 / 0.9576 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002053/0.6655, allocations: 3.219 kB / 0.9576 GB, free: 4.496 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 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003554/0.6659, allocations: 0.7052 MB / 0.9583 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.6661, allocations: 46.84 kB / 0.9584 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6661, allocations: 0 / 0.9584 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.6662, allocations: 28.16 kB / 0.9584 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.6664, allocations: 14.81 kB / 0.9584 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.6668, allocations: 135.8 kB / 0.9585 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.205e-05/0.6669, allocations: 0.6773 MB / 0.9592 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.6669, allocations: 1.094 kB / 0.9592 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.6669, allocations: 11.44 kB / 0.9592 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6669, allocations: 1.094 kB / 0.9592 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009814/0.6767, allocations: 1.098 MB / 0.9603 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.677, allocations: 216.1 kB / 0.9605 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.415, allocations: 0.9062 kB / 0.9605 GB, free: 2.207 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat