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.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.001582/0.001582, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002081/0.002081, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.392/3.392, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_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.002131/0.002131, allocations: 63.72 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4087, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004102/0.4128, allocations: 2.054 MB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.4153, allocations: 1.369 MB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.4155, allocations: 3.938 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.416, allocations: 171.4 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.4165, allocations: 203.2 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.4169, allocations: 163.6 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.4174, allocations: 335.1 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.4176, allocations: 37.14 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.4179, allocations: 171.3 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.4182, allocations: 163.4 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.4182, allocations: 19.94 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.4184, allocations: 59.97 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4185, allocations: 91.67 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4187, allocations: 135.1 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.4192, allocations: 374.3 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4192, allocations: 0 / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4192, allocations: 0 / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.4192, allocations: 0 / 1.358 GB, free: 3.145 MB / 1.045 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.001187/0.4204, allocations: 0.578 MB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4204, allocations: 12.03 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.4205, allocations: 34.75 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4206, allocations: 40.66 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.4212, allocations: 320.3 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.4212, allocations: 11.91 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.4213, allocations: 8 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.4215, allocations: 105.6 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4216, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.4216, allocations: 15.92 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4216, allocations: 4 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.4218, allocations: 53.84 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.4227, allocations: 475.4 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.4231, allocations: 138.7 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4232, allocations: 44.83 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.4233, allocations: 0 / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.4235, allocations: 115.2 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.4235, allocations: 0 / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005847/0.4241, allocations: 225.4 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.4242, allocations: 55.41 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.4248, allocations: 0.5249 MB / 1.361 GB, free: 260 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4249, allocations: 33.7 kB / 1.361 GB, free: 220 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.425, allocations: 168.5 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.4251, allocations: 43.67 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4252, allocations: 73.91 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4254, allocations: 350.8 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.4256, allocations: 100.5 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.4258, allocations: 131.6 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.4262, allocations: 174.5 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4262, allocations: 4 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005994/0.4268, allocations: 341.2 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4268, allocations: 7.938 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4268, allocations: 3.984 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4268, allocations: 4 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.4271, allocations: 51.97 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4271, allocations: 3.938 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4272, allocations: 19.89 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.4273, allocations: 15.92 kB / 1.362 GB, free: 14.71 MB / 1.061 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.0002056/0.4275, allocations: 189.8 kB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.4275, allocations: 39.7 kB / 1.362 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.428, allocations: 192.8 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.428, allocations: 7.984 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4281, allocations: 0 / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4281, allocations: 0 / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.4284, allocations: 276.5 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4284, allocations: 4 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.4284, allocations: 16 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4285, allocations: 3.938 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4285, allocations: 11.92 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4285, allocations: 0 / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4285, allocations: 0 / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.4289, allocations: 210.1 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.429, allocations: 39.75 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.429, allocations: 8 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.4291, allocations: 7.984 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.4292, allocations: 19.97 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4292, allocations: 4 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003956/0.4296, allocations: 327.1 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4296, allocations: 0 / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003482/0.4299, allocations: 63.88 kB / 1.364 GB, free: 13.24 MB / 1.061 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 (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.002245/0.4322, allocations: 1.078 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.4326, allocations: 178.6 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4326, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4328, allocations: 60.03 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.4333, allocations: 101.2 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.4376, allocations: 3.18 MB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.4381, allocations: 0.7948 MB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.4383, allocations: 50.95 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4385, allocations: 119.4 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.4385, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.4768, allocations: 7.541 MB / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12, allocations: 5.969 kB / 1.376 GB, free: 264 kB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.129226471995935]