Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001502/0.001502, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001622/0.001623, allocations: 191 kB / 17.29 MB, free: 5.516 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 74.7 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.002513/0.3206, allocations: 0.6856 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3216, allocations: 0.7846 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.3217, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.3217, allocations: 3.938 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.3219, allocations: 7.875 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.63e-05/0.322, allocations: 3.984 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.322, allocations: 27.92 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3222, allocations: 15.98 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.3223, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.3223, allocations: 15.92 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3223, allocations: 4 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.3223, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3224, allocations: 4 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.3224, allocations: 15.92 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.3225, allocations: 19.91 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3225, allocations: 0 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3225, allocations: 0 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3225, allocations: 4 kB / 1.028 GB, free: 428 kB / 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.0004286/0.3229, allocations: 339.5 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.323, allocations: 8.031 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.323, allocations: 8.844 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3232, allocations: 168.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3232, allocations: 4.359 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.3232, allocations: 4.375 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3234, allocations: 54.17 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3234, allocations: 4.188 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3234, allocations: 3.938 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3234, allocations: 0 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3236, allocations: 27.97 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.3239, allocations: 253 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3241, allocations: 42.5 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.3242, allocations: 28.83 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.3242, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3242, allocations: 30.56 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3242, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003626/0.3246, allocations: 85.56 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3246, allocations: 55.39 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.3247, allocations: 97.86 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3248, allocations: 25.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.3248, allocations: 88.14 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3249, allocations: 7.891 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3249, allocations: 13.84 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3251, allocations: 318.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.3251, allocations: 16.17 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.3252, allocations: 19.98 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3254, allocations: 44.75 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3254, allocations: 4.062 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.3256, allocations: 65.61 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3256, allocations: 7.984 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3256, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3257, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.3258, allocations: 8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3258, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.3258, allocations: 11.92 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3259, allocations: 4.031 kB / 1.03 GB, free: 14.38 MB / 0.8106 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 0.0001462/0.326, allocations: 109.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.326, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3261, allocations: 11.11 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.3263, allocations: 161.6 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3263, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.3264, allocations: 11.98 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3264, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3264, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3264, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3264, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3267, allocations: 167.4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3267, allocations: 85.08 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3268, allocations: 7.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3268, allocations: 7.984 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3269, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3269, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.3269, allocations: 87.27 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.327, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002262/0.3272, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 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.000142/0.3273, allocations: 103.2 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3275, allocations: 35.95 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3276, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.3276, allocations: 19.98 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3279, allocations: 8.125 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.3283, allocations: 105.7 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3286, allocations: 0.6807 MB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.3286, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.3286, allocations: 19.31 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3286, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.002641/0.3313, allocations: 0.4888 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches