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.008645/0.008646, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001587/0.001587, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 472.6 MB / 0.7453 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.12 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.434, allocations: 159.9 MB / 1.226 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003498/0.4375, allocations: 2.006 MB / 1.228 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.4396, allocations: 1.192 MB / 1.229 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4398, allocations: 7.938 kB / 1.229 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.4403, allocations: 155.5 kB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.4407, allocations: 159.3 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.4413, allocations: 222.7 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.4417, allocations: 315.2 kB / 1.23 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.4418, allocations: 44.38 kB / 1.23 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.442, allocations: 151.4 kB / 1.23 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.4423, allocations: 151.4 kB / 1.23 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.4423, allocations: 16 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.4425, allocations: 55.98 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.4426, allocations: 87.72 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4427, allocations: 123.1 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.4432, allocations: 366.4 kB / 1.231 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4432, allocations: 0 / 1.231 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4432, allocations: 0 / 1.231 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4432, allocations: 0 / 1.231 GB, free: 4.102 MB / 0.9825 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.001027/0.4442, allocations: 0.6416 MB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4443, allocations: 12.03 kB / 1.231 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.4444, allocations: 36.7 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.4449, allocations: 382.3 kB / 1.232 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4449, allocations: 4 kB / 1.232 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4449, allocations: 11.94 kB / 1.232 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.4452, allocations: 101.6 kB / 1.232 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4452, allocations: 0 / 1.232 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4452, allocations: 7.984 kB / 1.232 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4453, allocations: 7.984 kB / 1.232 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.4454, allocations: 55.97 kB / 1.232 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.4462, allocations: 496.4 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.4466, allocations: 134.8 kB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4467, allocations: 48.83 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4467, allocations: 7.938 kB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.447, allocations: 111.3 kB / 1.233 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.447, allocations: 0 / 1.233 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005296/0.4475, allocations: 229.3 kB / 1.233 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.4476, allocations: 51.41 kB / 1.233 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.4481, allocations: 0.5093 MB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4482, allocations: 29.7 kB / 1.233 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4483, allocations: 172.4 kB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.4483, allocations: 39.69 kB / 1.234 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4485, allocations: 65.97 kB / 1.234 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4486, allocations: 350.8 kB / 1.234 GB, free: 424 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.4488, allocations: 104.5 kB / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.449, allocations: 135.6 kB / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.4494, allocations: 182.6 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4494, allocations: 3.938 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005163/0.4499, allocations: 325.2 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4499, allocations: 9.969 kB / 1.235 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4499, allocations: 0 / 1.235 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.45, allocations: 4 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.4502, allocations: 51.97 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4502, allocations: 3.938 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4503, allocations: 19.89 kB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.4504, allocations: 11.98 kB / 1.235 GB, free: 15.56 MB / 0.9981 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.0001831/0.4506, allocations: 183.2 kB / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.4506, allocations: 43.7 kB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.4507, allocations: 39.06 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4507, allocations: 7.938 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4507, allocations: 0 / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4507, allocations: 3.984 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.451, allocations: 297.4 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.451, allocations: 0 / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.4511, allocations: 11.98 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4511, allocations: 7.938 kB / 1.235 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4511, allocations: 8 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4511, allocations: 0 / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4511, allocations: 0 / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.4515, allocations: 212.8 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.4516, allocations: 108.9 kB / 1.236 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.4517, allocations: 15.88 kB / 1.236 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.4518, allocations: 0 / 1.236 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.4518, allocations: 27.97 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4519, allocations: 4 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003353/0.4522, allocations: 319.1 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4522, allocations: 0 / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002791/0.4525, allocations: 59.89 kB / 1.236 GB, free: 14.15 MB / 0.9981 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.001014/0.4535, allocations: 421.5 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4539, allocations: 196.1 kB / 1.237 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4539, allocations: 0 / 1.237 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.4541, allocations: 63.91 kB / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.4546, allocations: 103.9 kB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.4554, allocations: 0.5388 MB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.4558, allocations: 0.7832 MB / 1.238 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.4559, allocations: 50.95 kB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.456, allocations: 39.36 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.456, allocations: 0 / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.008101/0.4641, allocations: 4.072 MB / 1.242 GB, free: 8.039 MB / 0.9981 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