Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_10_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_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001059/0.001059, allocations: 193.1 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.78 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001884/0.2696, allocations: 0.6755 MB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.2704, allocations: 0.7884 MB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.2704, allocations: 0 / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.2705, allocations: 3.938 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.2705, allocations: 7.938 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.992e-05/0.2706, allocations: 7.984 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.2707, allocations: 27.92 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.2708, allocations: 7.984 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.2708, allocations: 11.94 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.2709, allocations: 15.92 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2709, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2709, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.2709, allocations: 3.984 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.271, allocations: 7.938 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.81e-05/0.271, allocations: 23.91 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.271, allocations: 0 / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2711, allocations: 4 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2711, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 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.0004201/0.2715, allocations: 339.4 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2715, allocations: 16.91 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.2716, allocations: 4.844 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2717, allocations: 168.4 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2717, allocations: 384 / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.2717, allocations: 384 / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2719, allocations: 58.22 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2719, allocations: 4.125 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2719, allocations: 3.938 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2719, allocations: 3.938 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2721, allocations: 31.97 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.2724, allocations: 249 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2725, allocations: 46.5 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.2726, allocations: 24.89 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.2727, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2727, allocations: 34.5 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2727, allocations: 0 / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003244/0.273, allocations: 89.55 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2731, allocations: 51.41 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.2731, allocations: 101.9 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2732, allocations: 25.7 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.2732, allocations: 84.12 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2732, allocations: 4 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.2733, allocations: 21.78 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.2734, allocations: 310.8 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.2734, allocations: 19.98 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.2735, allocations: 19.91 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2737, allocations: 36.83 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2737, allocations: 4.062 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.2738, allocations: 69.5 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2739, allocations: 8 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2739, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2739, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.274, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.274, allocations: 3.984 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.274, allocations: 8.016 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.274, allocations: 4 kB / 1.022 GB, free: 6.215 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.2741, allocations: 117.8 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2741, allocations: 3.938 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.2742, allocations: 7.359 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2742, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2742, allocations: 4 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2742, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.2743, allocations: 157.6 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2743, allocations: 4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.2744, allocations: 11.98 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2744, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2744, allocations: 4 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2744, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2744, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.2747, allocations: 163.5 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2747, allocations: 88.89 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2747, allocations: 0 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.2748, allocations: 7.984 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.2749, allocations: 8 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2749, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.2749, allocations: 87.2 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2749, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002178/0.2751, allocations: 4 kB / 1.023 GB, free: 5.461 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.2753, allocations: 107.2 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.2755, allocations: 39.95 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2755, allocations: 0 / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.2756, allocations: 15.98 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2759, allocations: 9.25 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.2761, allocations: 111.2 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2764, allocations: 0.6768 MB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.2764, allocations: 0 / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2764, allocations: 11.44 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.2764, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of Templates: time 0.002444/0.2789, allocations: 499.7 kB / 1.024 GB, free: 3.957 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches