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.001575/0.001575, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001912/0.001912, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.002042/0.002042, allocations: 65.53 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.0036/0.3344, allocations: 1.973 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.3367, allocations: 1.279 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3368, allocations: 3.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.3373, allocations: 171.4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.3377, allocations: 207.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.3381, allocations: 167.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.3385, allocations: 339 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3386, allocations: 40.84 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.3388, allocations: 151.4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.3391, allocations: 167.4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.3391, allocations: 12 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3393, allocations: 67.91 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.3394, allocations: 95.67 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3395, allocations: 99.27 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.34, allocations: 378.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.34, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.34, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.34, 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.001046/0.341, allocations: 0.5741 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.341, allocations: 12.03 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.3411, allocations: 40.69 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.3417, allocations: 324.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3417, allocations: 11.91 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3417, allocations: 12 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.342, allocations: 107.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.342, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.342, allocations: 4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.342, allocations: 4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.3422, allocations: 63.95 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008422/0.3431, allocations: 424.1 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.3435, allocations: 138.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3436, allocations: 48.83 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3436, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.3439, allocations: 119.3 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.3439, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005916/0.3445, allocations: 242.1 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3445, allocations: 55.41 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.3451, allocations: 0.5327 MB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3452, allocations: 33.7 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3453, allocations: 168.5 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.3454, allocations: 39.73 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3455, allocations: 69.92 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3457, allocations: 350.8 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3459, allocations: 100.5 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3461, allocations: 139.6 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.3465, allocations: 194.9 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3465, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006126/0.3471, allocations: 337.3 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3471, allocations: 4 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3471, allocations: 4 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3471, allocations: 3.938 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.3474, allocations: 55.91 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3474, allocations: 4.062 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3475, allocations: 23.94 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.3476, allocations: 8 kB / 1.336 GB, free: 7.477 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.0002117/0.3478, allocations: 186.4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.3478, allocations: 31.77 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.3483, allocations: 219.4 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3483, allocations: 0 / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3483, allocations: 3.984 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3483, allocations: 4 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.3486, allocations: 233.1 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3486, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3487, allocations: 23.92 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3487, allocations: 3.938 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3487, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.3487, allocations: 7.938 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3487, allocations: 3.984 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.3492, allocations: 224.8 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.3493, allocations: 31.81 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3493, allocations: 12 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3494, allocations: 11.92 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.3495, allocations: 19.97 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3495, allocations: 8 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003682/0.3499, allocations: 323.1 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3499, allocations: 4 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003202/0.3502, allocations: 63.88 kB / 1.338 GB, free: 6.031 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 (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.001732/0.3519, allocations: 470.1 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3524, allocations: 191.8 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3524, allocations: 0 / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3525, allocations: 63.89 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.353, allocations: 86.61 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.354, allocations: 0.5586 MB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.3542, allocations: 191.9 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3543, allocations: 62.94 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3544, allocations: 35.42 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3544, allocations: 0 / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of Templates: time 0.01044/0.3649, allocations: 4.751 MB / 1.344 GB, free: 15.85 MB / 1.045 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 -s gbode -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/jenkins1/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: 8.949517565997667]