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.001859/0.001859, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002129/0.002129, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.36/3.36, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.001956/0.001956, allocations: 67.8 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4259, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003836/0.4297, allocations: 1.978 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.4322, allocations: 1.275 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.4323, allocations: 3.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.4327, allocations: 171.4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005874/0.4333, allocations: 207.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.4338, allocations: 167.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.4343, allocations: 343 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.4345, allocations: 32.86 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.4347, allocations: 155.3 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.4349, allocations: 167.4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.435, allocations: 16 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.4351, allocations: 63.89 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.4353, allocations: 91.69 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.4354, allocations: 99.27 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.4359, allocations: 386.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4359, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4359, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4359, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 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.001092/0.437, allocations: 0.578 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.437, allocations: 12.03 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.4372, allocations: 36.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.4377, allocations: 320.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4377, allocations: 7.906 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.4378, allocations: 15.98 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.4381, allocations: 105.6 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4381, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.4381, allocations: 3.984 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4381, allocations: 8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.4383, allocations: 63.95 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.4391, allocations: 420.1 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.4395, allocations: 138.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4397, allocations: 48.78 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.4397, allocations: 3.984 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.44, allocations: 119.3 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.44, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005781/0.4405, allocations: 240.8 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.4406, allocations: 59.34 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.4413, allocations: 0.5288 MB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.4414, allocations: 33.7 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.4416, allocations: 168.5 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.4416, allocations: 35.73 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.4418, allocations: 69.92 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.442, allocations: 350.8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.4422, allocations: 108.5 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.4424, allocations: 139.6 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.4428, allocations: 186.9 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4428, allocations: 0 / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000601/0.4434, allocations: 333.3 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4434, allocations: 8.062 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4434, allocations: 4 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4434, allocations: 7.938 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4437, allocations: 51.91 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4437, allocations: 7.984 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.4438, allocations: 11.95 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.4439, allocations: 12 kB / 1.336 GB, free: 7.488 MB / 1.029 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.0002438/0.4441, allocations: 194.2 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.4442, allocations: 35.77 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.4447, allocations: 211.1 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4447, allocations: 0 / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4447, allocations: 0 / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4447, allocations: 0 / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.445, allocations: 237.1 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.445, allocations: 0 / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.4451, allocations: 12 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4451, allocations: 7.938 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4451, allocations: 7.984 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4451, allocations: 3.938 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4451, allocations: 7.984 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.4456, allocations: 224.8 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.4457, allocations: 43.73 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.4457, allocations: 0 / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4458, allocations: 11.94 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.4459, allocations: 19.97 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4459, allocations: 7.984 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004109/0.4463, allocations: 327.1 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4463, allocations: 0 / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003235/0.4466, allocations: 63.89 kB / 1.338 GB, free: 6.043 MB / 1.029 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001833/0.4485, allocations: 461.1 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.449, allocations: 187.8 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.449, allocations: 0 / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.4492, allocations: 63.91 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.4497, allocations: 95.59 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4508, allocations: 0.5704 MB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.451, allocations: 183.8 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.4512, allocations: 58.94 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.4514, allocations: 39.42 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4514, allocations: 0 / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of Templates: time 0.01052/0.4619, allocations: 4.755 MB / 1.344 GB, free: 15.86 MB / 1.045 GB " [Timeout remaining time 300] 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 -s cvode -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: 9.577946459001396]