Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001734/0.001734, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002133/0.002133, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.931/2.931, allocations: 0.49 GB / 0.7923 GB, free: 1.258 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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [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.002069/0.002069, allocations: 67.91 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8709, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003398/0.8743, allocations: 2.031 MB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.8768, allocations: 1.368 MB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.877, allocations: 7 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.8775, allocations: 160.2 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.878, allocations: 206 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.8785, allocations: 158.3 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.8788, allocations: 341.4 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.879, allocations: 34.03 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.8792, allocations: 165.5 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.8794, allocations: 164.5 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.8795, allocations: 16.22 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.8796, allocations: 51.55 kB / 1.327 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.8798, allocations: 100.9 kB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.8799, allocations: 130.5 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.8805, allocations: 382.8 kB / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8805, allocations: 4 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8805, allocations: 0.5 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.8805, allocations: 7.406 kB / 1.327 GB, free: 21.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001182/0.8817, allocations: 0.6414 MB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.8817, allocations: 13.7 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.8818, allocations: 39.81 kB / 1.328 GB, free: 21.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.8824, allocations: 386.4 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.8824, allocations: 11.66 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.8825, allocations: 5.25 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.8828, allocations: 111.9 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8828, allocations: 0 / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.8828, allocations: 4.891 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.8828, allocations: 2.625 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.883, allocations: 65 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.8838, allocations: 0.4991 MB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.8842, allocations: 128 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.8843, allocations: 45.25 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.8843, allocations: 1.188 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.8846, allocations: 113.7 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.8846, allocations: 0 / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006035/0.8852, allocations: 231 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.8852, allocations: 54.06 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.8859, allocations: 0.5255 MB / 1.33 GB, free: 19.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.8859, allocations: 27.42 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.8861, allocations: 179.8 kB / 1.33 GB, free: 19.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.8861, allocations: 38.06 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.8862, allocations: 71.36 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.8863, allocations: 349.4 kB / 1.331 GB, free: 19.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.8865, allocations: 102.2 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.8867, allocations: 133.2 kB / 1.331 GB, free: 19.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.8871, allocations: 181.4 kB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8871, allocations: 0 / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005743/0.8876, allocations: 329 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8877, allocations: 12.69 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.8877, allocations: 1.906 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.8877, allocations: 2.438 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.8879, allocations: 57.44 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8879, allocations: 2.406 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.8881, allocations: 15.42 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.8881, allocations: 10.39 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001796/0.8883, allocations: 180.5 kB / 1.332 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.8884, allocations: 43.89 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.8884, allocations: 38.67 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8884, allocations: 1.438 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8884, allocations: 4.656 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8884, allocations: 1.891 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.8887, allocations: 308.9 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8887, allocations: 1.75 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.8888, allocations: 11.77 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8888, allocations: 4.938 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8888, allocations: 2.641 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8888, allocations: 1.938 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8888, allocations: 0 / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.8892, allocations: 216.2 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.8893, allocations: 116.9 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.8894, allocations: 7.438 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.8895, allocations: 9.5 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.8895, allocations: 16.27 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.8895, allocations: 7.109 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003654/0.8899, allocations: 324.4 kB / 1.333 GB, free: 18.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8899, allocations: 0 / 1.333 GB, free: 18.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000318/0.8902, allocations: 67.81 kB / 1.333 GB, free: 18.13 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001524/0.8918, allocations: 422 kB / 1.333 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.8922, allocations: 189.6 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8922, allocations: 0 / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.8924, allocations: 57.47 kB / 1.333 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.8929, allocations: 91.28 kB / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.8938, allocations: 0.5882 MB / 1.334 GB, free: 17.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.894, allocations: 0.7903 MB / 1.335 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.8942, allocations: 36.27 kB / 1.335 GB, free: 16.76 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.8942, allocations: 0 / 1.335 GB, free: 16.76 MB / 1.061 GB Notification: Performance of Templates: time 0.009025/0.9032, allocations: 4.568 MB / 1.339 GB, free: 16.21 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 12.299854822005727]