Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.001526/0.001526, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001654/0.001654, allocations: 186 kB / 20.78 MB, free: 1.547 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.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 496.2 MB / 0.7819 GB, free: 12.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234/1.236, allocations: 173.7 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003383/1.239, allocations: 2.025 MB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00197/1.241, allocations: 1.229 MB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/1.242, allocations: 6.844 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005035/1.242, allocations: 155.2 kB / 1.309 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/1.242, allocations: 160.4 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/1.243, allocations: 225.3 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/1.243, allocations: 309.4 kB / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/1.243, allocations: 34.25 kB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/1.244, allocations: 146.9 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/1.244, allocations: 165.5 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/1.244, allocations: 16.09 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/1.244, allocations: 58 kB / 1.31 GB, free: 30.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/1.244, allocations: 95.56 kB / 1.31 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/1.244, allocations: 120.6 kB / 1.31 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/1.245, allocations: 368.9 kB / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.245, allocations: 0 / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.245, allocations: 3.938 kB / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.245, allocations: 0 / 1.31 GB, free: 30.4 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.0009345/1.246, allocations: 0.6304 MB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.246, allocations: 9.719 kB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/1.246, allocations: 36.02 kB / 1.311 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/1.246, allocations: 389.9 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/1.246, allocations: 6.938 kB / 1.311 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/1.246, allocations: 5.938 kB / 1.311 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/1.246, allocations: 107.4 kB / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.246, allocations: 0 / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.246, allocations: 0 / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.246, allocations: 6.844 kB / 1.312 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/1.247, allocations: 66 kB / 1.312 GB, free: 29.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/1.247, allocations: 495.1 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/1.248, allocations: 132.1 kB / 1.312 GB, free: 29.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.248, allocations: 50.59 kB / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/1.248, allocations: 0 / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/1.248, allocations: 104.4 kB / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.248, allocations: 0 / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005204/1.249, allocations: 233.7 kB / 1.313 GB, free: 28.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.249, allocations: 58.19 kB / 1.313 GB, free: 28.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/1.249, allocations: 0.5139 MB / 1.313 GB, free: 28.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.249, allocations: 28.58 kB / 1.313 GB, free: 28.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/1.249, allocations: 165.1 kB / 1.313 GB, free: 28.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/1.249, allocations: 46.38 kB / 1.313 GB, free: 28.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/1.249, allocations: 66.69 kB / 1.313 GB, free: 28.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/1.249, allocations: 349.2 kB / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/1.25, allocations: 96.08 kB / 1.314 GB, free: 27.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/1.25, allocations: 137.6 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/1.25, allocations: 184.8 kB / 1.314 GB, free: 27.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.25, allocations: 0 / 1.314 GB, free: 27.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004656/1.251, allocations: 329.2 kB / 1.314 GB, free: 27.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.251, allocations: 15.47 kB / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.251, allocations: 0 / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.251, allocations: 2.875 kB / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/1.251, allocations: 47.16 kB / 1.315 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.251, allocations: 2.844 kB / 1.315 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/1.251, allocations: 20.94 kB / 1.315 GB, free: 27.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/1.251, allocations: 15.7 kB / 1.315 GB, free: 27.62 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,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.0001607/1.251, allocations: 185.1 kB / 1.315 GB, free: 27.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/1.251, allocations: 41.27 kB / 1.315 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/1.252, allocations: 193.6 kB / 1.315 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.252, allocations: 6.625 kB / 1.315 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.252, allocations: 0 / 1.315 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.252, allocations: 3.328 kB / 1.315 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/1.252, allocations: 295.7 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.252, allocations: 2.625 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/1.252, allocations: 13.69 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.252, allocations: 7.875 kB / 1.315 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/1.252, allocations: 13.58 kB / 1.315 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.252, allocations: 0 / 1.315 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.252, allocations: 0 / 1.315 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/1.252, allocations: 205.2 kB / 1.316 GB, free: 26.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/1.252, allocations: 106.2 kB / 1.316 GB, free: 26.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/1.252, allocations: 11 kB / 1.316 GB, free: 26.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/1.253, allocations: 6.281 kB / 1.316 GB, free: 26.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/1.253, allocations: 26.91 kB / 1.316 GB, free: 26.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/1.253, allocations: 5.719 kB / 1.316 GB, free: 26.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003243/1.253, allocations: 314.6 kB / 1.316 GB, free: 26.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.253, allocations: 0 / 1.316 GB, free: 26.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00032/1.253, allocations: 61.88 kB / 1.316 GB, free: 26.7 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,product.y,reaToInt1.y,reaToInt2.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 (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.001604/1.255, allocations: 420.4 kB / 1.316 GB, free: 26.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004575/1.255, allocations: 185.6 kB / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.255, allocations: 0 / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/1.255, allocations: 57.2 kB / 1.317 GB, free: 26.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/1.256, allocations: 84.3 kB / 1.317 GB, free: 26.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009663/1.257, allocations: 0.5485 MB / 1.317 GB, free: 26.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/1.257, allocations: 0.7887 MB / 1.318 GB, free: 25.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001562/1.257, allocations: 57.84 kB / 1.318 GB, free: 25.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/1.257, allocations: 34.17 kB / 1.318 GB, free: 25.36 MB / 1.061 GB Notification: Performance of SimCode: time 1.613e-06/1.257, allocations: 2.438 kB / 1.318 GB, free: 25.36 MB / 1.061 GB Notification: Performance of Templates: time 0.008284/1.266, allocations: 4.143 MB / 1.322 GB, free: 24.98 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.148345531895757]