Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 443.5 MB / 0.7304 GB, free: 14.01 MB / 0.5762 GB " [Timeout remaining time 176] 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4419, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002795/0.4447, allocations: 0.7884 MB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.446, allocations: 0.8701 MB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.4461, allocations: 4 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.4461, allocations: 3.938 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4462, allocations: 7.875 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.4464, allocations: 39.94 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.4466, allocations: 87.77 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4467, allocations: 15.98 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.4469, allocations: 43.89 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.447, allocations: 43.83 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.447, allocations: 8 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.447, allocations: 8 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.4471, allocations: 31.91 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.4471, allocations: 35.73 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.4473, allocations: 87.59 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4473, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4473, allocations: 3.938 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4473, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008311/0.4481, allocations: 399.1 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4482, allocations: 12.03 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.4482, allocations: 12.89 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4484, allocations: 172.3 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4485, allocations: 12.31 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.4485, allocations: 4.375 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.4488, allocations: 101.5 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4488, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.4489, allocations: 8 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4489, allocations: 3.984 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.4492, allocations: 95.91 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.4499, allocations: 348.6 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.4506, allocations: 122.6 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4508, allocations: 56.81 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.4508, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4508, allocations: 30.56 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.4508, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007131/0.4515, allocations: 193.4 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.4516, allocations: 51.41 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4517, allocations: 129.7 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4518, allocations: 25.7 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.4518, allocations: 96.09 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.4519, allocations: 31.78 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.4519, allocations: 17.72 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4521, allocations: 322.8 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.4523, allocations: 47.95 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.4525, allocations: 44.97 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.4528, allocations: 100.7 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4528, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004096/0.4532, allocations: 141.5 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4533, allocations: 4 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4533, allocations: 4 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4533, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.4535, allocations: 23.97 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4535, allocations: 0 / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.4536, allocations: 23.91 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4536, allocations: 4 kB / 1.221 GB, free: 10.42 MB / 0.9669 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 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001125/0.4537, allocations: 117.8 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.4538, allocations: 7.891 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.4538, allocations: 16.38 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4538, allocations: 3.984 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4538, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4538, allocations: 3.938 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.4541, allocations: 193.6 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4541, allocations: 0 / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4542, allocations: 23.97 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4542, allocations: 0 / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4543, allocations: 7.984 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4543, allocations: 4 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.4543, allocations: 4 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.4548, allocations: 235.8 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.4548, allocations: 85 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4548, allocations: 0 / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.455, allocations: 19.98 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.4551, allocations: 27.91 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4551, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.4552, allocations: 95.27 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4552, allocations: 3.938 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002385/0.4554, allocations: 12 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000166/0.4556, allocations: 99.25 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.456, allocations: 108 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.456, allocations: 0 / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.4562, allocations: 68.03 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4566, allocations: 11.98 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.4571, allocations: 186.1 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4575, allocations: 0.6962 MB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.889e-05/0.4576, allocations: 11.98 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.4576, allocations: 19.42 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.4576, allocations: 0 / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of Templates: time 0.004793/0.4624, allocations: 1.613 MB / 1.224 GB, free: 6.629 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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: 8.942484968341887]