Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001898/0.001898, allocations: 117.7 kB / 17.13 MB, free: 6.047 MB / 14.72 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.002256/0.002256, allocations: 209.8 kB / 20.09 MB, free: 3.098 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.906/2.906, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8611, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001727/0.8628, allocations: 0.7024 MB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.8636, allocations: 0.8657 MB / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.8636, allocations: 2.812 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.8637, allocations: 7.125 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.8637, allocations: 7.875 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.8639, allocations: 31.22 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.8639, allocations: 40.66 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.864, allocations: 13.84 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.8641, allocations: 18.5 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.8641, allocations: 33.72 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.8642, allocations: 5.312 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.8642, allocations: 6.625 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.8642, allocations: 9.688 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.8642, allocations: 22.08 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.8643, allocations: 43.05 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8643, allocations: 2.25 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8643, allocations: 3.938 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.8643, allocations: 0 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004441/0.8648, allocations: 363.6 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.8648, allocations: 12.8 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.8648, allocations: 7.531 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.8649, allocations: 175.1 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.8649, allocations: 384 / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.8649, allocations: 3.469 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.8651, allocations: 72.33 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8651, allocations: 0 / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.8651, allocations: 3.062 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.8651, allocations: 0 / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.8654, allocations: 51.92 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.8657, allocations: 292.6 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.8659, allocations: 60.89 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.866, allocations: 29.94 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.866, allocations: 4 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.866, allocations: 30.56 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.866, allocations: 2.938 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003917/0.8664, allocations: 111.7 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.8665, allocations: 51.41 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.8665, allocations: 108.3 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.8665, allocations: 33.7 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.8665, allocations: 83.56 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.8666, allocations: 18.5 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.8666, allocations: 15.41 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.8666, allocations: 322.2 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.8667, allocations: 22.09 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.8668, allocations: 24.75 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.867, allocations: 51.77 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.867, allocations: 0 / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002205/0.8672, allocations: 89.09 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.8672, allocations: 5.75 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8673, allocations: 3.938 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8673, allocations: 3.938 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.8674, allocations: 16.09 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.8674, allocations: 0 / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.8675, allocations: 10.12 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8675, allocations: 2.844 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.278e-05/0.8675, allocations: 120.3 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.8675, allocations: 0 / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.8676, allocations: 14.7 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8676, allocations: 0 / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8676, allocations: 0 / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.8676, allocations: 4 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.8677, allocations: 175.4 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8677, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.8678, allocations: 15.58 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.8678, allocations: 3.938 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.8678, allocations: 4 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8678, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8678, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.868, allocations: 188 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.8681, allocations: 80.05 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8681, allocations: 0 / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.8682, allocations: 13.42 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.8682, allocations: 6.156 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.8682, allocations: 2.844 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.8683, allocations: 88.61 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8683, allocations: 0 / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002258/0.8685, allocations: 17.53 kB / 1.326 GB, free: 21.3 MB / 1.061 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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 9.316e-05/0.8686, allocations: 99 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.8688, allocations: 54.7 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8688, allocations: 0 / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.869, allocations: 28.44 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.8693, allocations: 16.33 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.8696, allocations: 159.4 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.8697, allocations: 0.6777 MB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.8697, allocations: 17.12 kB / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.8697, allocations: 3.938 kB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of Templates: time 0.001994/0.8717, allocations: 0.8139 MB / 1.328 GB, free: 20.27 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.371161203991505]