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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001833/0.001833, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.826/2.826, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.83 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7687, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00524/0.774, allocations: 2.054 MB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002687/0.7767, allocations: 1.186 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.777, allocations: 8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.7776, allocations: 151.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.7781, allocations: 143.5 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.7788, allocations: 207.3 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.7793, allocations: 283.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.7795, allocations: 56.34 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.7798, allocations: 135.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.7801, allocations: 135.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.7801, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.7803, allocations: 47.91 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.7804, allocations: 91.72 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.7806, allocations: 115.1 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.7811, allocations: 356.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7811, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7811, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.7811, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 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.001204/0.7823, allocations: 0.6108 MB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7824, allocations: 12.03 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.7825, allocations: 40.45 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.783, allocations: 378.2 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.7831, allocations: 11.98 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.7831, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.7834, allocations: 105.6 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7834, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.7834, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7834, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.7836, allocations: 62.39 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.7845, allocations: 496.4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.7848, allocations: 146.7 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.785, allocations: 44.83 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.785, allocations: 8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.7853, allocations: 111.4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.7853, allocations: 3.938 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0006024/0.7859, allocations: 221.1 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.786, allocations: 59.41 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.7866, allocations: 0.5092 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.7866, allocations: 33.7 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.7867, allocations: 164.4 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.7868, allocations: 35.55 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.7869, allocations: 73.86 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7871, allocations: 342.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.7873, allocations: 112.4 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.7875, allocations: 131.6 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.7879, allocations: 178.5 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.7879, allocations: 4 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006121/0.7885, allocations: 318.7 kB / 1.025 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.7885, allocations: 7.984 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7886, allocations: 7.938 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7886, allocations: 0 / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.7888, allocations: 51.91 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7888, allocations: 4 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.789, allocations: 15.84 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.789, allocations: 19.98 kB / 1.026 GB, free: 9.34 MB / 0.7794 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.0001942/0.7892, allocations: 185.8 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.7893, allocations: 31.62 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.7894, allocations: 39.06 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7894, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.7894, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7894, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.7897, allocations: 301.4 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7897, allocations: 3.938 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.7898, allocations: 19.98 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7898, allocations: 0 / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.7899, allocations: 7.938 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.7899, allocations: 4 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7899, allocations: 0 / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.7903, allocations: 209.8 kB / 1.026 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7904, allocations: 112.7 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.7905, allocations: 11.92 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.7906, allocations: 8 kB / 1.026 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.7907, allocations: 19.97 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.7907, allocations: 8 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003538/0.7911, allocations: 315.1 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7911, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000313/0.7914, allocations: 56 kB / 1.027 GB, free: 7.941 MB / 0.7794 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.001136/0.7925, allocations: 428.5 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.793, allocations: 192.1 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.793, allocations: 3.938 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.7932, allocations: 63.91 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.7937, allocations: 88.83 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.7947, allocations: 0.5953 MB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.7953, allocations: 0.7831 MB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000167/0.7955, allocations: 54.95 kB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.7956, allocations: 31.42 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.7956, allocations: 4 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.009205/0.8048, allocations: 3.865 MB / 1.033 GB, free: 1.992 MB / 0.7794 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 -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/jenkins/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