Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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.001998/0.001998, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002226/0.002226, allocations: 159.8 kB / 22.45 MB, free: 5.375 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.542/1.542, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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/3, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 1 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.061e-05/4.344e-05, allocations: 9.875 kB / 1 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002608/0.002651, allocations: 0.6698 MB / 1.001 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.004208, allocations: 0.8159 MB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.004258, allocations: 0 / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.004287, allocations: 0 / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.004371, allocations: 7.875 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.621e-05/0.004448, allocations: 7.984 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.004551, allocations: 23.92 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.004687, allocations: 7.984 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.004783, allocations: 15.98 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.00483, allocations: 11.92 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.004853, allocations: 8 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.00486, allocations: 0 / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.004879, allocations: 4 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.00491, allocations: 4 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.005014, allocations: 19.95 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.005019, allocations: 0 / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00502, allocations: 0 / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.005026, allocations: 3.938 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000583/0.005609, allocations: 262.3 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.005651, allocations: 8.031 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.005681, allocations: 8.938 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005821, allocations: 113.7 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.005841, allocations: 8.312 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005858, allocations: 384 / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.00611, allocations: 50.23 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.006122, allocations: 192 / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.006133, allocations: 384 / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006139, allocations: 384 / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.006404, allocations: 43.89 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.006811, allocations: 192.6 kB / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.007014, allocations: 38.5 kB / 1.002 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.007156, allocations: 24.89 kB / 1.002 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.007172, allocations: 3.938 kB / 1.002 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.007212, allocations: 38.56 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/0.007214, allocations: 0 / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005173/0.007731, allocations: 85.58 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.007792, allocations: 55.41 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.007899, allocations: 97.8 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.007921, allocations: 25.7 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.007986, allocations: 92.12 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.008011, allocations: 3.953 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.008068, allocations: 13.72 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.008258, allocations: 314.8 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.008377, allocations: 16.36 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.008492, allocations: 23.97 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.008717, allocations: 40.83 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.00872, allocations: 0 / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002943/0.009014, allocations: 61.66 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.009033, allocations: 12.09 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.009041, allocations: 3.938 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.00906, allocations: 3.938 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.009191, allocations: 4 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.009202, allocations: 7.922 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.009268, allocations: 7.953 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.009278, allocations: 4 kB / 1.003 GB, free: 3.777 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0001022/0.009381, allocations: 109.8 kB / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.009415, allocations: 0 / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.00945, allocations: 19.23 kB / 1.003 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009452, allocations: 0 / 1.003 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.009458, allocations: 0 / 1.003 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.009461, allocations: 0 / 1.003 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.009663, allocations: 101.3 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009664, allocations: 0 / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.009743, allocations: 11.98 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.009745, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009753, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.009758, allocations: 3.938 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009759, allocations: 0 / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.01011, allocations: 167.5 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.01012, allocations: 7.953 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01013, allocations: 0 / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.01026, allocations: 11.92 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.0103, allocations: 0 / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01031, allocations: 3.984 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.01037, allocations: 95.2 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01037, allocations: 0 / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004435/0.01081, allocations: 8.031 kB / 1.004 GB, free: 3.188 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0001585/0.01097, allocations: 95.23 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.01127, allocations: 35.95 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01127, allocations: 0 / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.0114, allocations: 23.92 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.01184, allocations: 8.312 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.01218, allocations: 108.8 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.01225, allocations: 59.34 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.01228, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01232, allocations: 12.5 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of SimCode: time 4.8e-07/0.01232, allocations: 3.938 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of Templates: time 0.003682/0.016, allocations: 469.7 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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: 8.483305018395185]