Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001447/0.001447, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001808/0.001808, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.801 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.602/3.602, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") [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.002138/0.002138, allocations: 72.69 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.483, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002587/0.4856, allocations: 0.6982 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.4869, allocations: 0.832 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.4869, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.487, allocations: 7.922 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.4871, allocations: 3.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.535e-05/0.4871, allocations: 15.98 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.4872, allocations: 39.91 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4874, allocations: 11.98 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.4874, allocations: 15.92 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.4875, allocations: 19.92 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.4875, allocations: 4 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.4875, allocations: 7.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.4875, allocations: 11.94 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.4876, allocations: 19.92 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.4877, allocations: 47.8 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4877, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4877, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.4877, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005943/0.4883, allocations: 278.3 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4883, allocations: 12.03 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.4884, allocations: 8.891 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4885, allocations: 114.5 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.4885, allocations: 4.375 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4886, allocations: 4.375 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4888, allocations: 66.22 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4888, allocations: 192 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4888, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4888, allocations: 7.875 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.4891, allocations: 71.86 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.4895, allocations: 208.6 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.4897, allocations: 54.52 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.4899, allocations: 44.86 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.4899, allocations: 4 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4899, allocations: 34.5 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4899, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000541/0.4905, allocations: 125.6 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.4905, allocations: 55.41 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.4906, allocations: 113.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4906, allocations: 25.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.4907, allocations: 88.09 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4907, allocations: 11.94 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.4908, allocations: 13.72 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4909, allocations: 314.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4911, allocations: 31.95 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.4912, allocations: 39.91 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.4915, allocations: 64.78 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4915, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.4918, allocations: 97.56 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4918, allocations: 12 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4918, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4918, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.492, allocations: 11.98 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.492, allocations: 0 / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.492, allocations: 23.92 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.492, allocations: 0 / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.595e-05/0.4921, allocations: 113.8 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.4922, allocations: 11.94 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.4922, allocations: 8 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4922, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4922, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4922, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.4924, allocations: 113.2 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4924, allocations: 4 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.4925, allocations: 23.91 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4925, allocations: 3.938 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4925, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4925, allocations: 4 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4925, allocations: 0 / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.4929, allocations: 195.4 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.4929, allocations: 7.875 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4929, allocations: 4.359 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.493, allocations: 15.92 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.493, allocations: 4 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.493, allocations: 8 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.4931, allocations: 87.27 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4931, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000221/0.4933, allocations: 8 kB / 1.368 GB, free: 9.082 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001505/0.4935, allocations: 91.25 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.4938, allocations: 71.91 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4938, allocations: 4 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.494, allocations: 39.89 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.4943, allocations: 4 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4946, allocations: 121.6 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.988e-05/0.4947, allocations: 71.28 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.4947, allocations: 4 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.4948, allocations: 7.438 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4948, allocations: 4 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of Templates: time 0.003277/0.4981, allocations: 0.7493 MB / 1.369 GB, free: 7.883 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 10.04162715189159]