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.001507/0.001507, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001891/0.001891, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.88 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4044, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003598/0.408, allocations: 2.024 MB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.4103, allocations: 1.193 MB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.4105, allocations: 7.938 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.4109, allocations: 155.5 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.4114, allocations: 155.4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.412, allocations: 223.4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.4124, allocations: 319.2 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.4126, allocations: 40.38 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.4128, allocations: 143.5 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.413, allocations: 151.4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.413, allocations: 16 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4132, allocations: 55.98 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.4133, allocations: 87.72 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.4134, allocations: 127.1 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.4139, allocations: 362.7 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4139, allocations: 0 / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4139, allocations: 0 / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4139, allocations: 0 / 1.032 GB, free: 13.03 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.001019/0.4149, allocations: 0.6263 MB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.415, allocations: 12.03 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.415, allocations: 32.56 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.4156, allocations: 382.1 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4156, allocations: 4 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4157, allocations: 11.98 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4159, allocations: 109.5 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4159, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.416, allocations: 4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.416, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.4161, allocations: 59.95 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.4169, allocations: 0.4924 MB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.4173, allocations: 134.7 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4174, allocations: 48.83 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4175, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.4177, allocations: 122.4 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.4177, allocations: 0 / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005365/0.4183, allocations: 225.3 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4183, allocations: 51.41 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.4189, allocations: 0.5054 MB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4189, allocations: 29.64 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4191, allocations: 168.4 kB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.4191, allocations: 39.53 kB / 1.035 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4192, allocations: 69.88 kB / 1.035 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4194, allocations: 350.8 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4196, allocations: 104.5 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4199, allocations: 136.1 kB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.4202, allocations: 175.5 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4202, allocations: 0 / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005516/0.4208, allocations: 325.2 kB / 1.036 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4208, allocations: 4 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4208, allocations: 3.938 kB / 1.036 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4208, allocations: 7.938 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.4211, allocations: 51.97 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4211, allocations: 0 / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4212, allocations: 23.83 kB / 1.036 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.4213, allocations: 11.94 kB / 1.036 GB, free: 8.52 MB / 0.8106 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.000189/0.4215, allocations: 185.8 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.4215, allocations: 31.62 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784e-05/0.4216, allocations: 39.06 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4216, allocations: 4 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4216, allocations: 3.984 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4216, allocations: 0 / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.4219, allocations: 301.3 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4219, allocations: 0 / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.422, allocations: 11.98 kB / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.422, allocations: 4 kB / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.422, allocations: 15.92 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.422, allocations: 0 / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.422, allocations: 0 / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.4224, allocations: 196.7 kB / 1.037 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4225, allocations: 112.7 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.4226, allocations: 11.94 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.4227, allocations: 7.984 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.4228, allocations: 27.92 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4228, allocations: 11.98 kB / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000359/0.4232, allocations: 319.1 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4232, allocations: 0 / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000322/0.4235, allocations: 59.89 kB / 1.037 GB, free: 7.105 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.00118/0.4247, allocations: 412 kB / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.4252, allocations: 201.7 kB / 1.038 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4252, allocations: 0 / 1.038 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.4253, allocations: 63.91 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4258, allocations: 92.52 kB / 1.038 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.4267, allocations: 0.5163 MB / 1.038 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4271, allocations: 0.7909 MB / 1.039 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.4273, allocations: 54.94 kB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.4274, allocations: 31.44 kB / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of SimCode: time 6.51e-07/0.4274, allocations: 0 / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.008359/0.4358, allocations: 4.061 MB / 1.043 GB, free: 1.047 MB / 0.8106 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 -s cvode -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/jenkins1/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