Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 220 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.97 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00361/0.377, allocations: 1.978 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.3794, allocations: 1.283 MB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3796, allocations: 7.938 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.38, allocations: 163.4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.3805, allocations: 203.2 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.3808, allocations: 163.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.3813, allocations: 355 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3814, allocations: 37.05 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.3817, allocations: 151.4 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.3819, allocations: 167.3 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.3819, allocations: 16 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3821, allocations: 59.97 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3822, allocations: 99.59 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3823, allocations: 91.34 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.3828, allocations: 390.3 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3828, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3828, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3828, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 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.001043/0.3838, allocations: 0.5702 MB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3839, allocations: 12.03 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.3839, allocations: 38.73 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.384, allocations: 36.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.3845, allocations: 320.3 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3846, allocations: 11.94 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.3846, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3848, allocations: 117.5 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3849, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3849, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3849, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3851, allocations: 71.94 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.3859, allocations: 447.6 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.3863, allocations: 134.7 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3864, allocations: 52.83 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3865, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.3867, allocations: 124.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3867, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005945/0.3873, allocations: 239.8 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3874, allocations: 51.41 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.388, allocations: 0.5366 MB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.388, allocations: 29.7 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3882, allocations: 172.5 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.3882, allocations: 31.73 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3883, allocations: 73.91 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3885, allocations: 350.8 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3887, allocations: 108.5 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.3889, allocations: 135.6 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.3893, allocations: 191 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3893, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005874/0.3899, allocations: 337.3 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3899, allocations: 7.938 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3899, allocations: 0 / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3899, allocations: 4 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.3902, allocations: 59.91 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3902, allocations: 0 / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3903, allocations: 15.95 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.3904, allocations: 11.98 kB / 1.335 GB, free: 7.887 MB / 1.029 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.0002037/0.3906, allocations: 187 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.3906, allocations: 39.7 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.3911, allocations: 211.5 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3911, allocations: 4 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3911, allocations: 0 / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3911, allocations: 3.984 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.3914, allocations: 268.5 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3914, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.3915, allocations: 12 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3915, allocations: 11.94 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3916, allocations: 3.984 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3916, allocations: 0 / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3916, allocations: 0 / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.392, allocations: 228.7 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.3921, allocations: 43.73 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.3921, allocations: 4 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3922, allocations: 4 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.3923, allocations: 23.97 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3923, allocations: 7.984 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003796/0.3927, allocations: 331.1 kB / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3927, allocations: 3.938 kB / 1.336 GB, free: 6.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003293/0.393, allocations: 63.89 kB / 1.336 GB, free: 6.395 MB / 1.029 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.002357/0.3954, allocations: 1.108 MB / 1.337 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.3958, allocations: 191.8 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3958, allocations: 0 / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.396, allocations: 68.03 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.3965, allocations: 93.28 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.4007, allocations: 3.228 MB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.4009, allocations: 183.8 kB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.4011, allocations: 66.86 kB / 1.341 GB, free: 1.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.4012, allocations: 115.4 kB / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.4012, allocations: 0 / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.4382, allocations: 8.38 MB / 1.349 GB, free: 9.133 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.98, allocations: 6.125 kB / 1.349 GB, free: 9.129 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.718920962011907]