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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001651/0.001651, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002416/0.002417, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.594/1.594, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.092/3.092, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.17 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.391, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004574/0.3956, allocations: 1.998 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.398, allocations: 1.196 MB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3981, allocations: 7.938 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.3986, allocations: 159.5 kB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.399, allocations: 151.4 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.3995, allocations: 226.7 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000408/0.3999, allocations: 311.2 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.4001, allocations: 48.38 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4003, allocations: 143.4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.4005, allocations: 151.4 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.4006, allocations: 12 kB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.4007, allocations: 51.97 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4008, allocations: 87.73 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.401, allocations: 135.1 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.4014, allocations: 359 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4014, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4014, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4014, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 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.000987/0.4024, allocations: 0.6263 MB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4025, allocations: 8.031 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.4026, allocations: 32.56 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.4031, allocations: 378.1 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.4031, allocations: 8 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.4032, allocations: 15.94 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.4034, allocations: 103.4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.4035, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.4035, allocations: 8 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4035, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4037, allocations: 59.95 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009057/0.4046, allocations: 0.4925 MB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.405, allocations: 142.6 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.4052, allocations: 52.83 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.4052, allocations: 4 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.4055, allocations: 115.2 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4055, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005676/0.4061, allocations: 217.3 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4062, allocations: 55.41 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.4068, allocations: 0.5093 MB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4068, allocations: 25.7 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.407, allocations: 168.4 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.407, allocations: 35.56 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.4072, allocations: 73.86 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.4073, allocations: 350.8 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.4076, allocations: 96.52 kB / 1.077 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4078, allocations: 143.5 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.4081, allocations: 179.3 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4082, allocations: 0 / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006545/0.4088, allocations: 325.2 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4088, allocations: 4 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4089, allocations: 3.938 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4089, allocations: 4 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4091, allocations: 55.91 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4091, allocations: 0 / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4093, allocations: 15.84 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.4093, allocations: 15.98 kB / 1.077 GB, free: 0.8789 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 ($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.0002323/0.4096, allocations: 187.2 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.4096, allocations: 39.53 kB / 1.078 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.4097, allocations: 39.06 kB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4097, allocations: 4 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4097, allocations: 0 / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4097, allocations: 0 / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.4102, allocations: 305.4 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4102, allocations: 7.938 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.4103, allocations: 15.92 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4103, allocations: 0 / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4104, allocations: 7.938 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4104, allocations: 4 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4104, allocations: 0 / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.4108, allocations: 200.7 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4109, allocations: 120.6 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.411, allocations: 7.938 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.4111, allocations: 4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.4111, allocations: 19.97 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4112, allocations: 12 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003398/0.4115, allocations: 315.1 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4115, allocations: 0 / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003003/0.4118, allocations: 52 kB / 1.079 GB, free: 15.47 MB / 0.8419 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.0011/0.4129, allocations: 425 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.4135, allocations: 200.5 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4135, allocations: 4.125 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4136, allocations: 59.91 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.4143, allocations: 99.67 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4153, allocations: 0.5276 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.4159, allocations: 0.787 MB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000156/0.4161, allocations: 50.95 kB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.4162, allocations: 31.42 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.4162, allocations: 3.938 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.009266/0.4254, allocations: 4.067 MB / 1.085 GB, free: 9.383 MB / 0.8419 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