Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007268/0.007268, allocations: 99.42 kB / 15.73 MB, free: 6.039 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.001533/0.001533, allocations: 202 kB / 16.68 MB, free: 5.965 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.636/1.636, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.83 kB / 1.019 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 151.6 MB / 1.167 GB, free: 6.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001953/0.3451, allocations: 0.8659 MB / 1.168 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3464, allocations: 0.8896 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3465, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.3467, allocations: 23.8 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.3467, allocations: 11.86 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.3469, allocations: 35.89 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3471, allocations: 99.77 kB / 1.169 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.3473, allocations: 47.97 kB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3474, allocations: 47.78 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.3475, allocations: 35.78 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3475, allocations: 8 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.3476, allocations: 8 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.3476, allocations: 23.92 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.3476, allocations: 35.78 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3478, allocations: 99.53 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3479, allocations: 0 / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3479, allocations: 3.938 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3479, allocations: 4 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00069/0.3486, allocations: 415 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3486, allocations: 12.03 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3487, allocations: 8.891 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.349, allocations: 204.2 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.349, allocations: 8.375 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.349, allocations: 12.31 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.3493, allocations: 86.2 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3493, allocations: 4.172 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3493, allocations: 3.938 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3493, allocations: 4 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3496, allocations: 75.88 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.3501, allocations: 348.6 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3504, allocations: 62.53 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3505, allocations: 40.88 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3505, allocations: 4 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3505, allocations: 34.55 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3505, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004225/0.351, allocations: 117.5 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.351, allocations: 55.41 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3511, allocations: 139.9 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3511, allocations: 29.69 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.3512, allocations: 108 kB / 1.171 GB, free: 2.715 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.3512, allocations: 11.94 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.3513, allocations: 17.72 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3514, allocations: 322.8 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3515, allocations: 31.97 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/0.3516, allocations: 31.98 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.3518, allocations: 56.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3519, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002447/0.3521, allocations: 101.5 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3521, allocations: 7.984 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3521, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3522, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3523, allocations: 11.98 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3523, allocations: 3.938 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.813e-05/0.3524, allocations: 19.94 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3524, allocations: 4 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.613e-05/0.3525, allocations: 120 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3525, allocations: 7.984 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3526, allocations: 12.25 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3526, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3526, allocations: 7.875 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3526, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3528, allocations: 193.5 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3528, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.3529, allocations: 15.92 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3529, allocations: 4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.3529, allocations: 4 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3529, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3529, allocations: 8.125 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3532, allocations: 183.4 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3533, allocations: 81.11 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3533, allocations: 12 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3535, allocations: 11.98 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.3535, allocations: 16.14 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3535, allocations: 7.938 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.3536, allocations: 100.7 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3536, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002215/0.3538, allocations: 15.95 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001578/0.354, allocations: 111.2 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3543, allocations: 63.94 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3543, allocations: 4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3544, allocations: 31.97 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3546, allocations: 9.875 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.355, allocations: 198.6 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3553, allocations: 0.6885 MB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3553, allocations: 7.984 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.3554, allocations: 15.44 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.3554, allocations: 0 / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of Templates: time 0.003221/0.3586, allocations: 1.013 MB / 1.174 GB, free: 15.01 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches