Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.001594/0.001594, allocations: 107.3 kB / 16.45 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.001552/0.001552, 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.545/1.545, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.28 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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [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.002142/0.002142, allocations: 75.64 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4009, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00363/0.4045, allocations: 2.045 MB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.4069, allocations: 1.352 MB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.407, allocations: 11.88 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.4075, allocations: 159.4 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.4079, allocations: 203.2 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.4083, allocations: 159.5 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.4087, allocations: 339.1 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.4089, allocations: 40.67 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.4091, allocations: 167.3 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.4093, allocations: 155.4 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.4094, allocations: 16 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.4095, allocations: 63.95 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.4096, allocations: 99.59 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4098, allocations: 123.2 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.4103, allocations: 386.3 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4103, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4103, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4103, allocations: 0 / 1.326 GB, free: 13.52 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.001072/0.4113, allocations: 0.6416 MB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4114, allocations: 11.98 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.4115, allocations: 36.7 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.412, allocations: 394.2 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.4121, allocations: 12 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.4121, allocations: 8 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4123, allocations: 107.6 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4123, allocations: 4 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.4124, allocations: 7.984 kB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4124, allocations: 0 / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.4126, allocations: 59.97 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.4134, allocations: 0.4965 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.4138, allocations: 126.6 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4139, allocations: 48.83 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4139, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.4142, allocations: 119.3 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4142, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006242/0.4148, allocations: 233.2 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.4148, allocations: 51.41 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.4155, allocations: 0.5288 MB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.4155, allocations: 29.7 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.4157, allocations: 176.5 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.4157, allocations: 35.72 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4158, allocations: 69.92 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.416, allocations: 350.8 kB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.4162, allocations: 100.5 kB / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.4165, allocations: 131.6 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.4168, allocations: 186.5 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4168, allocations: 0 / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006341/0.4175, allocations: 333.3 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4175, allocations: 11.94 kB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4175, allocations: 0 / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4175, allocations: 4 kB / 1.331 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4177, allocations: 51.97 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.4178, allocations: 4 kB / 1.331 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.4179, allocations: 27.81 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.4179, allocations: 8 kB / 1.331 GB, free: 8.922 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,reaToInt2.y,reaToInt1.y,product.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.0002002/0.4181, allocations: 181.8 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.4182, allocations: 39.7 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.4183, allocations: 39.23 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4183, allocations: 4 kB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4183, allocations: 4 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4183, allocations: 0 / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.4186, allocations: 297.4 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4186, allocations: 0 / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.4187, allocations: 19.98 kB / 1.331 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4187, allocations: 3.938 kB / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.4187, allocations: 8 kB / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4187, allocations: 0 / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4187, allocations: 0 / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.4192, allocations: 218.5 kB / 1.331 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4193, allocations: 116.9 kB / 1.332 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.4193, allocations: 3.938 kB / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4194, allocations: 11.98 kB / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.4195, allocations: 15.98 kB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4195, allocations: 7.984 kB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003935/0.4199, allocations: 327.1 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4199, allocations: 3.938 kB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003206/0.4202, allocations: 63.89 kB / 1.332 GB, free: 7.488 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,product.y,reaToInt1.y,reaToInt2.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.001623/0.4219, allocations: 419.9 kB / 1.332 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.4224, allocations: 183.8 kB / 1.333 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4224, allocations: 0 / 1.333 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.4225, allocations: 55.72 kB / 1.333 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.423, allocations: 97.09 kB / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4241, allocations: 0.5623 MB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.4247, allocations: 0.7831 MB / 1.334 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.4248, allocations: 58.94 kB / 1.334 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.4249, allocations: 35.42 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4249, allocations: 0 / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of Templates: time 0.009833/0.4348, allocations: 4.199 MB / 1.338 GB, free: 1.258 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.713393922895193]