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.001795/0.001795, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002127/0.002127, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.805 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.321/3.321, allocations: 0.4893 GB / 0.7943 GB, free: 35.51 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.002088/0.002088, allocations: 68.14 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003983/0.364, allocations: 1.963 MB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.3666, allocations: 1.279 MB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.3667, allocations: 11.94 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.3672, allocations: 167.4 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.3678, allocations: 211.1 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.3683, allocations: 159.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.3688, allocations: 339.1 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3689, allocations: 41.05 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.3692, allocations: 147.3 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.3695, allocations: 163.4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.3696, allocations: 16 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3698, allocations: 67.89 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3699, allocations: 91.69 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.37, allocations: 95.27 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.3706, allocations: 390.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3706, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3706, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.3706, allocations: 0 / 1.33 GB, free: 13.25 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.00124/0.3719, allocations: 0.578 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3719, allocations: 8.031 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.372, allocations: 38.75 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3721, allocations: 44.67 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.3728, allocations: 320.3 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3728, allocations: 8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3728, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.3731, allocations: 109.6 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3731, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3732, allocations: 3.938 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3732, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.3734, allocations: 65.98 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3744, allocations: 451.6 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.3748, allocations: 138.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3749, allocations: 44.84 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.375, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.3752, allocations: 124.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.3752, allocations: 3.938 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006065/0.3758, allocations: 237.3 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3759, allocations: 55.41 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/0.3766, allocations: 0.5288 MB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.3766, allocations: 33.7 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3768, allocations: 168.5 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3768, allocations: 39.73 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.377, allocations: 73.92 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3771, allocations: 350.8 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3774, allocations: 100.5 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.3776, allocations: 139.6 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.378, allocations: 183 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.378, allocations: 0 / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006222/0.3786, allocations: 341.3 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3786, allocations: 11.94 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3786, allocations: 0 / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3787, allocations: 0 / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3789, allocations: 51.91 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3789, allocations: 4 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3791, allocations: 15.94 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3791, allocations: 12 kB / 1.334 GB, free: 8.805 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.0002209/0.3793, allocations: 193.3 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.3794, allocations: 43.77 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.3799, allocations: 206.9 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3799, allocations: 4 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3799, allocations: 0 / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3799, allocations: 0 / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.3802, allocations: 264.5 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3802, allocations: 7.938 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.3803, allocations: 19.92 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3803, allocations: 3.938 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3803, allocations: 11.94 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3803, allocations: 0 / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3803, allocations: 3.984 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.3807, allocations: 228.8 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.3808, allocations: 35.73 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.3808, allocations: 8 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3809, allocations: 11.98 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.381, allocations: 15.97 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.381, allocations: 8 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003996/0.3814, allocations: 327.1 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3814, allocations: 4 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003144/0.3818, allocations: 63.88 kB / 1.336 GB, free: 7.305 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.002379/0.3841, allocations: 1.107 MB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.3846, allocations: 199.7 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3847, allocations: 3.938 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.3848, allocations: 60.09 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3854, allocations: 90.52 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.3901, allocations: 3.235 MB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3903, allocations: 187.8 kB / 1.34 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.3905, allocations: 50.94 kB / 1.34 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.3908, allocations: 119.4 kB / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.3908, allocations: 4 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.429, allocations: 8.34 MB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.23, allocations: 3.172 kB / 1.349 GB, free: 10.08 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: 19.29255747096613]