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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 188.9 kB / 492.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 107.9 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.017e-05, allocations: 6 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2852, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9973/1.283, allocations: 149.2 MB / 1.358 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.283, allocations: 86.05 kB / 1.358 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002029/1.285, allocations: 0.6268 MB / 1.359 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.314e-06/1.285, allocations: 0 / 1.359 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.275e-06/1.285, allocations: 3.875 kB / 1.359 GB, free: 34.7 MB / 0.8386 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.000314/1.285, allocations: 337.1 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.285, allocations: 11.98 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/1.285, allocations: 0.625 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/1.285, allocations: 175.6 kB / 1.359 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/1.285, allocations: 0 / 1.359 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/1.285, allocations: 0 / 1.359 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.2e-05/1.286, allocations: 39.66 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.286, allocations: 0 / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/1.286, allocations: 3.938 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.286, allocations: 4 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/1.286, allocations: 18.59 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/1.286, allocations: 263.8 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/1.286, allocations: 23.08 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/1.286, allocations: 15.86 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/1.286, allocations: 0 / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/1.286, allocations: 35.3 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/1.286, allocations: 0 / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001271/1.286, allocations: 38.69 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/1.286, allocations: 59.16 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/1.286, allocations: 95.95 kB / 1.36 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/1.286, allocations: 34.14 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/1.286, allocations: 84.66 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/1.286, allocations: 3.906 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.286, allocations: 0 / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/1.287, allocations: 319.4 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/1.287, allocations: 3.906 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/1.287, allocations: 7.062 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/1.287, allocations: 6.172 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.287, allocations: 4.062 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.935e-05/1.287, allocations: 42.36 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.287, allocations: 9.094 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.287, allocations: 0.75 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.287, allocations: 0 / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/1.287, allocations: 10.25 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.287, allocations: 0 / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/1.287, allocations: 17.97 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/1.287, allocations: 0.75 kB / 1.36 GB, free: 33.1 MB / 0.8386 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 () * 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 5.829e-05/1.287, allocations: 104.9 kB / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/1.287, allocations: 8.547 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/1.287, allocations: 3.125 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.287, allocations: 0.7969 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.287, allocations: 1.422 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.287, allocations: 0 / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/1.287, allocations: 162.9 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.287, allocations: 4 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/1.287, allocations: 10.44 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.287, allocations: 4.375 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/1.287, allocations: 3.938 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.287, allocations: 0 / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/1.287, allocations: 3.516 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.002e-05/1.287, allocations: 139.6 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/1.287, allocations: 85.64 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/1.287, allocations: 0.7969 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/1.288, allocations: 10.62 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/1.288, allocations: 5.672 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/1.288, allocations: 3.875 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.24e-05/1.288, allocations: 83.53 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.288, allocations: 0 / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002119/1.288, allocations: 3.812 kB / 1.361 GB, free: 32.47 MB / 0.8386 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 () * 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 9.596e-05/1.288, allocations: 102.2 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.415e-05/1.288, allocations: 22.88 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.288, allocations: 0 / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/1.288, allocations: 7.312 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.288, allocations: 8.953 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/1.288, allocations: 56.28 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/1.289, allocations: 0.6852 MB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.414e-05/1.289, allocations: 0 / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/1.289, allocations: 7.438 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.289, allocations: 0 / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.002246/1.291, allocations: 404.2 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (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 & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches