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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008252/0.008251, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001515/0.001515, allocations: 197.3 kB / 16.67 MB, free: 5.98 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.598/1.598, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.022/3.022, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3817, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004453/0.3862, allocations: 1.991 MB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3886, allocations: 1.193 MB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.3889, allocations: 7.938 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.3896, allocations: 159.3 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.3902, allocations: 155.4 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.3909, allocations: 227.2 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.3915, allocations: 307.2 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3917, allocations: 52.38 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.392, allocations: 151.4 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.3923, allocations: 151.4 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.3923, allocations: 12 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3925, allocations: 59.91 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3927, allocations: 91.72 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3928, allocations: 123.2 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.3933, allocations: 370.7 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3934, allocations: 3.984 kB / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3934, allocations: 0 / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3934, allocations: 0 / 1.213 GB, free: 4.559 MB / 0.9669 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.001162/0.3946, allocations: 0.6146 MB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3946, allocations: 8.031 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3947, allocations: 36.55 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.3953, allocations: 385.9 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3953, allocations: 4 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3954, allocations: 12 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3956, allocations: 99.34 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3957, allocations: 4 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3957, allocations: 8 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3957, allocations: 0 / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3959, allocations: 67.8 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.3967, allocations: 0.4887 MB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.3971, allocations: 134.7 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3972, allocations: 48.83 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3972, allocations: 8 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3975, allocations: 111.3 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.3975, allocations: 0 / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005302/0.398, allocations: 226.9 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.3981, allocations: 51.41 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.3986, allocations: 0.5093 MB / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3986, allocations: 33.7 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3987, allocations: 164.3 kB / 1.216 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3988, allocations: 31.66 kB / 1.216 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3989, allocations: 73.86 kB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.399, allocations: 354.7 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3992, allocations: 96.52 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.3995, allocations: 135.6 kB / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.3999, allocations: 188.2 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3999, allocations: 0 / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005554/0.4004, allocations: 321.1 kB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4005, allocations: 7.938 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4005, allocations: 0 / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4005, allocations: 8.062 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4007, allocations: 55.91 kB / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4008, allocations: 0 / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4009, allocations: 15.94 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.401, allocations: 11.98 kB / 1.217 GB, free: 64 kB / 0.9669 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.0002193/0.4012, allocations: 181.7 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.4012, allocations: 39.47 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.4013, allocations: 35.12 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.4013, allocations: 8 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4013, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4013, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.4016, allocations: 301.4 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4016, allocations: 4 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.4017, allocations: 11.98 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4017, allocations: 3.938 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4017, allocations: 12 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4018, allocations: 3.938 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4018, allocations: 0 / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.4021, allocations: 212.6 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4022, allocations: 112.7 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.4023, allocations: 7.938 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.4024, allocations: 4 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.4025, allocations: 23.97 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4025, allocations: 4 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003042/0.4028, allocations: 315.1 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4028, allocations: 4 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002906/0.4031, allocations: 56 kB / 1.218 GB, free: 14.65 MB / 0.9825 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.001001/0.4041, allocations: 423.7 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.4045, allocations: 195.2 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4045, allocations: 0 / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4047, allocations: 59.91 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4052, allocations: 100.9 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.406, allocations: 0.5199 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.4064, allocations: 0.7947 MB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.4065, allocations: 58.86 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.4066, allocations: 31.42 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4066, allocations: 0 / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.008443/0.4151, allocations: 4.182 MB / 1.224 GB, free: 8.445 MB / 0.9825 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