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.001324/0.001324, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001419/0.001419, allocations: 217.2 kB / 23.04 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8 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.215/3.215, allocations: 0.5003 GB / 0.8062 GB, free: 26.73 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="cs",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.002011/0.002011, allocations: 65.97 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4434, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003928/0.4473, allocations: 2.047 MB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.4499, allocations: 1.364 MB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.45, allocations: 7.938 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.4505, allocations: 175.4 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.451, allocations: 203.2 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.4514, allocations: 163.6 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.4518, allocations: 335.1 kB / 1.35 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4519, allocations: 33.14 kB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.4522, allocations: 171.3 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.4524, allocations: 163.4 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.4525, allocations: 20 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4526, allocations: 59.91 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.4527, allocations: 95.67 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.4528, allocations: 131.1 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.4533, allocations: 382.3 kB / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4533, allocations: 0 / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4533, allocations: 0 / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.4533, allocations: 0 / 1.351 GB, free: 11.11 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.001017/0.4543, allocations: 0.5701 MB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4544, allocations: 16.03 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.151e-05/0.4544, allocations: 192 / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.4544, allocations: 38.75 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.4545, allocations: 44.66 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.455, allocations: 324 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.455, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4551, allocations: 8 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4553, allocations: 107.1 kB / 1.352 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4553, allocations: 7.984 kB / 1.352 GB, free: 9.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4553, allocations: 4 kB / 1.352 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4554, allocations: 0 / 1.352 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4556, allocations: 59.95 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.4564, allocations: 475.4 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.4568, allocations: 138.7 kB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4569, allocations: 44.83 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.4569, allocations: 0 / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.4572, allocations: 111.2 kB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 3.547e-06/0.4572, allocations: 8 kB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005625/0.4577, allocations: 225.4 kB / 1.353 GB, free: 8.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4578, allocations: 51.41 kB / 1.353 GB, free: 8.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.4584, allocations: 0.5249 MB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4584, allocations: 29.7 kB / 1.353 GB, free: 8.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4586, allocations: 176.4 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.4586, allocations: 31.8 kB / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4587, allocations: 77.84 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4589, allocations: 354.8 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.4591, allocations: 100.5 kB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.4593, allocations: 131.6 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.4597, allocations: 178.3 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4597, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005955/0.4603, allocations: 341.2 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4603, allocations: 7.938 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4603, allocations: 0 / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4604, allocations: 4 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.4606, allocations: 55.84 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4606, allocations: 0 / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4607, allocations: 23.83 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.4608, allocations: 20.05 kB / 1.355 GB, free: 6.672 MB / 1.045 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.0001879/0.461, allocations: 178.5 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.461, allocations: 39.7 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.4615, allocations: 194.2 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4615, allocations: 7.984 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4615, allocations: 0 / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4615, allocations: 0 / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.4618, allocations: 284.5 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4618, allocations: 0 / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.4619, allocations: 15.94 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4619, allocations: 0 / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4619, allocations: 7.984 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4619, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4619, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.4623, allocations: 211.5 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.4624, allocations: 43.75 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.4624, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.4625, allocations: 11.98 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4626, allocations: 19.97 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4626, allocations: 4 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003764/0.463, allocations: 323.1 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.463, allocations: 4 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003077/0.4633, allocations: 63.88 kB / 1.356 GB, free: 5.219 MB / 1.045 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.002167/0.4654, allocations: 1.076 MB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4659, allocations: 179.9 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4659, allocations: 0 / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.466, allocations: 67.27 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4665, allocations: 89.83 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.4706, allocations: 3.184 MB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.471, allocations: 0.7909 MB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.4711, allocations: 54.95 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.4713, allocations: 115.4 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.4713, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.5008, allocations: 7.581 MB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.16, allocations: 12 kB / 1.369 GB, free: 8.215 MB / 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] [Calling os._exit(0), Time elapsed: 19.15682462899713] Failed to read output from testmodel.py, exit status != 0: 12.387482851976529 12.415600773 11.957210184 Calling exit ...