Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 185.3 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9656/0.9656, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8121 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.006e-05, allocations: 3.844 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001915/0.001935, allocations: 0.8575 MB / 0.8129 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003226, allocations: 0.9498 MB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003344, allocations: 4 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.003487, allocations: 11.81 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.00354, allocations: 13.45 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.003763, allocations: 43.84 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.003904, allocations: 99.69 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.004042, allocations: 40.78 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.004241, allocations: 59.88 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.004311, allocations: 24.84 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.004333, allocations: 8 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.004389, allocations: 15.98 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.004411, allocations: 16.58 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.004442, allocations: 21.16 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.004586, allocations: 75.66 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004589, allocations: 0 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004589, allocations: 0 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004594, allocations: 1.156 kB / 0.8143 GB, free: 15.16 MB / 0.7761 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.0004819/0.005076, allocations: 424.2 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.005121, allocations: 13.41 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.00526, allocations: 28.83 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005445, allocations: 150.2 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005459, allocations: 4.375 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.005473, allocations: 8.375 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.005628, allocations: 78.86 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.005636, allocations: 1.531 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.005645, allocations: 384 / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.005654, allocations: 4.375 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.005697, allocations: 16.42 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.006091, allocations: 314 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.006193, allocations: 46.98 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.006216, allocations: 15.69 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.006234, allocations: 2.406 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.006258, allocations: 33.39 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.542e-06/0.00626, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.006425, allocations: 61.61 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.006457, allocations: 55.39 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006566, allocations: 196.3 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.006585, allocations: 25.7 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.006653, allocations: 151.5 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.006677, allocations: 15.84 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.006722, allocations: 31.89 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.006885, allocations: 0.49 MB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.006907, allocations: 4 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.006927, allocations: 7.984 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.006973, allocations: 19.62 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.006977, allocations: 3.938 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.686e-05/0.007074, allocations: 54.8 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.007089, allocations: 8 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.007094, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.007108, allocations: 0.5625 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.007172, allocations: 4.781 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007175, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.007224, allocations: 16.83 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007231, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 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.511e-05/0.007316, allocations: 166.2 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.007343, allocations: 8.141 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.007371, allocations: 12.33 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.007374, allocations: 4 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.007377, allocations: 4.812 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.00738, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.007521, allocations: 115.5 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007522, allocations: 0 / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.007562, allocations: 7.984 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.007565, allocations: 3.938 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.007571, allocations: 192 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007572, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007573, allocations: 6.031 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.007712, allocations: 203.9 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.007725, allocations: 11.88 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.007743, allocations: 7.938 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.007846, allocations: 7.938 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.007892, allocations: 16.47 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.007897, allocations: 1.125 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.007955, allocations: 142 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007955, allocations: 0 / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002647/0.00822, allocations: 12.81 kB / 0.8172 GB, free: 11.96 MB / 0.7761 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.0001178/0.008338, allocations: 100.9 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.008462, allocations: 35.66 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008464, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.008505, allocations: 19.62 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.008835, allocations: 21.77 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.009285, allocations: 183 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.009325, allocations: 60 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.009356, allocations: 11.55 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.009423, allocations: 82.19 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.009423, allocations: 0 / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002548/0.01197, allocations: 1.187 MB / 0.8188 GB, free: 10.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.978931128047407]