Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001617/0.001617, allocations: 111 kB / 16.46 MB, free: 6.453 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.001674/0.001674, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.508/3.508, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [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.0034/0.0034, allocations: 65.09 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4104, allocations: 176.1 MB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002259/0.4126, allocations: 0.7865 MB / 1.322 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.4138, allocations: 0.8938 MB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.4139, allocations: 7.938 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.4139, allocations: 7.875 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.414, allocations: 15.86 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.4142, allocations: 35.95 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.4143, allocations: 87.75 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4144, allocations: 19.98 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.4145, allocations: 39.91 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.4146, allocations: 43.83 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.4146, allocations: 8 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.4147, allocations: 8 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.4147, allocations: 27.89 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.4148, allocations: 35.8 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.4149, allocations: 87.61 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4149, allocations: 3.984 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4149, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4149, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 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.0007449/0.4157, allocations: 391.1 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4157, allocations: 15.98 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.4157, allocations: 16.88 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.4159, allocations: 172.3 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4159, allocations: 8.312 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.416, allocations: 8.375 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.4163, allocations: 106.9 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4163, allocations: 3.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4163, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4163, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.4167, allocations: 103.9 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.4173, allocations: 336.6 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.418, allocations: 122.5 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.4182, allocations: 56.8 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4182, allocations: 4 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4182, allocations: 38.55 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4182, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007285/0.4189, allocations: 189.4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.419, allocations: 51.41 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4191, allocations: 125.8 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4191, allocations: 25.7 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.4192, allocations: 96.08 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.4192, allocations: 19.8 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.4193, allocations: 29.7 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4194, allocations: 318.8 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.4196, allocations: 39.95 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.4198, allocations: 51.89 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.4202, allocations: 100.8 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4202, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004684/0.4207, allocations: 137.5 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4207, allocations: 4 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4207, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4207, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.4209, allocations: 27.91 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4209, allocations: 0.5469 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.4211, allocations: 23.88 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4211, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 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.0001035/0.4212, allocations: 113.8 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.4212, allocations: 3.984 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.4213, allocations: 20.38 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4213, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4213, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4213, allocations: 3.938 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.4215, allocations: 205.5 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4215, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.4217, allocations: 27.91 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4217, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4217, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4217, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4217, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.4223, allocations: 243.3 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.4223, allocations: 81.05 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4223, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4225, allocations: 19.97 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.4226, allocations: 23.92 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.4226, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.839e-05/0.4227, allocations: 95.7 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4227, allocations: 0 / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002428/0.4229, allocations: 19.95 kB / 1.327 GB, free: 13.01 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: 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.0001525/0.4231, allocations: 103.2 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.4236, allocations: 107.9 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4236, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.4238, allocations: 63.88 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.4241, allocations: 10.83 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.4246, allocations: 174.2 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.425, allocations: 0.6942 MB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.012e-05/0.425, allocations: 15.94 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.4251, allocations: 23.42 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4251, allocations: 0 / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of Templates: time 0.004573/0.4297, allocations: 1.589 MB / 1.329 GB, free: 10.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.705604745075107]