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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009529, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.862/2.862, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 12 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4028, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002657/0.4055, allocations: 1.66 MB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.4076, allocations: 1.112 MB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.4077, allocations: 7.938 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.4083, allocations: 143.6 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.4086, allocations: 127.5 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.4092, allocations: 186.8 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.4095, allocations: 263.2 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.4097, allocations: 44.36 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.4099, allocations: 119.4 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.4101, allocations: 123.5 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.4101, allocations: 8 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.4102, allocations: 43.98 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.4104, allocations: 79.72 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.4104, allocations: 69.52 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.4108, allocations: 287.5 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4108, allocations: 0 / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4108, allocations: 0 / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4108, allocations: 3.938 kB / 1.062 GB, free: 1.07 MB / 0.8106 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.0009132/0.4117, allocations: 0.5719 MB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4118, allocations: 15.95 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.4119, allocations: 31.62 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.4123, allocations: 349.3 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.4124, allocations: 11.94 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4124, allocations: 8 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.4127, allocations: 105.5 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4127, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4127, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4127, allocations: 11.94 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.4129, allocations: 55.95 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.4137, allocations: 496.5 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.414, allocations: 142.7 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4142, allocations: 48.77 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.4142, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.4145, allocations: 115.3 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 3.476e-06/0.4145, allocations: 3.984 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005433/0.415, allocations: 223.9 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4151, allocations: 51.41 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.4157, allocations: 0.5093 MB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4157, allocations: 29.7 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4159, allocations: 172.3 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.4159, allocations: 35.55 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.4159, allocations: 12 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4161, allocations: 346.8 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4163, allocations: 96.52 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4165, allocations: 131.6 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.4167, allocations: 107.9 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4167, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005562/0.4173, allocations: 318.7 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4173, allocations: 5.875 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4173, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4173, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4176, allocations: 55.91 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4176, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.4177, allocations: 23.83 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.4178, allocations: 11.95 kB / 1.066 GB, free: 12.79 MB / 0.8262 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.418, allocations: 185.8 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.418, allocations: 35.56 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.4181, allocations: 39.12 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4181, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.4182, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4182, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.4185, allocations: 305.3 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4185, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.4186, allocations: 12 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4186, allocations: 7.984 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.4186, allocations: 4 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4186, allocations: 4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4186, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.419, allocations: 216.6 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4191, allocations: 116.7 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.4192, allocations: 4 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.4193, allocations: 12 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-05/0.4194, allocations: 19.97 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4194, allocations: 8 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003576/0.4197, allocations: 311.1 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4198, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002995/0.4201, allocations: 59.89 kB / 1.067 GB, free: 11.38 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.4212, allocations: 418.3 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.4216, allocations: 200 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4216, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.4218, allocations: 59.97 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.4222, allocations: 79.41 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.4232, allocations: 0.5812 MB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.4236, allocations: 0.7872 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.4238, allocations: 58.94 kB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.4238, allocations: 27.44 kB / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4239, allocations: 0 / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of Templates: time 0.007883/0.4317, allocations: 3.736 MB / 1.073 GB, free: 5.598 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) 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) Reference file matches