Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001126/0.001126, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001526/0.001526, allocations: 188 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 64.25 kB / 0.8707 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3379, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004289/0.3423, allocations: 2.02 MB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3445, allocations: 1.201 MB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.3446, allocations: 3.938 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.3451, allocations: 159.4 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.3455, allocations: 155.4 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.3461, allocations: 224.8 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.3465, allocations: 315.2 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3466, allocations: 48.36 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.3468, allocations: 139.5 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.347, allocations: 155.4 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.3471, allocations: 16 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3472, allocations: 55.97 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3473, allocations: 87.67 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3475, allocations: 123.1 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.3479, allocations: 366.7 kB / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3479, allocations: 0 / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3479, allocations: 0 / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3479, allocations: 0 / 1.024 GB, free: 4.754 MB / 0.795 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.0009967/0.3489, allocations: 0.6225 MB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.349, allocations: 12.92 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.3491, allocations: 36.47 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.3496, allocations: 386 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3497, allocations: 7.984 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3497, allocations: 8 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3499, allocations: 101.6 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.35, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.35, allocations: 4 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.35, allocations: 8 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3502, allocations: 55.95 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.351, allocations: 0.4886 MB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.3514, allocations: 146.7 kB / 1.026 GB, free: 2.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3515, allocations: 48.77 kB / 1.026 GB, free: 2.688 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3515, allocations: 4 kB / 1.026 GB, free: 2.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.3518, allocations: 111.4 kB / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3518, allocations: 0 / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005479/0.3523, allocations: 229.1 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3524, allocations: 55.41 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.353, allocations: 0.5054 MB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.353, allocations: 29.7 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3531, allocations: 160.5 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3532, allocations: 39.53 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3533, allocations: 73.86 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3534, allocations: 346.8 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3536, allocations: 104.5 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.3539, allocations: 136.1 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.3542, allocations: 179.5 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3542, allocations: 0 / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005261/0.3547, allocations: 321.2 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3548, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3548, allocations: 11.92 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3548, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.355, allocations: 51.92 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3551, allocations: 7.984 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3552, allocations: 15.84 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.3552, allocations: 11.98 kB / 1.028 GB, free: 252 kB / 0.795 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.0001798/0.3554, allocations: 190.4 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.3555, allocations: 31.62 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.671e-05/0.3556, allocations: 47 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3556, allocations: 0 / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3556, allocations: 0 / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3556, allocations: 3.938 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3558, allocations: 301.3 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3559, allocations: 0 / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.3559, allocations: 15.98 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3559, allocations: 0 / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.356, allocations: 11.94 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.356, allocations: 4 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.356, allocations: 0 / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3564, allocations: 204.6 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3565, allocations: 104.7 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.3565, allocations: 19.92 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.3566, allocations: 4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.3567, allocations: 19.97 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3567, allocations: 12 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000318/0.357, allocations: 315.1 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3571, allocations: 0 / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002818/0.3573, allocations: 59.91 kB / 1.029 GB, free: 14.84 MB / 0.8106 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.001068/0.3584, allocations: 415.7 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.3589, allocations: 203.8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3589, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.359, allocations: 59.97 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3595, allocations: 108.5 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.3604, allocations: 0.5121 MB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3607, allocations: 0.7871 MB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.3609, allocations: 54.94 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.361, allocations: 35.42 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.361, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.008372/0.3693, allocations: 4.053 MB / 1.035 GB, free: 8.781 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches