Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001073/0.001073, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001204/0.001204, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9268/0.9268, allocations: 177.2 MB / 203.5 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.168e-05, allocations: 6.219 kB / 0.9823 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001135/0.001157, allocations: 0.6833 MB / 0.9829 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.001843, allocations: 0.812 MB / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.001871, allocations: 0 / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.001894, allocations: 0 / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.001942, allocations: 11.94 kB / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.461e-05/0.001987, allocations: 4 kB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.002042, allocations: 23.92 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.002125, allocations: 7.984 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.002181, allocations: 19.92 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.002206, allocations: 7.984 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.002224, allocations: 0 / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-06/0.002229, allocations: 4 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.002241, allocations: 4 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.002257, allocations: 7.984 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 6.332e-05/0.00232, allocations: 27.91 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002322, allocations: 0 / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd: time 4.9e-07/0.002322, allocations: 0 / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.002325, allocations: 0 / 0.9838 GB, free: 376 kB / 0.9323 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.0003011/0.002626, allocations: 262.3 kB / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.002655, allocations: 8.031 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.002676, allocations: 4.891 kB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.002759, allocations: 109.7 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.002769, allocations: 4.359 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.002777, allocations: 8.312 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.00288, allocations: 50.25 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.002887, allocations: 192 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.002894, allocations: 384 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.002899, allocations: 4.375 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.002984, allocations: 39.89 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.003209, allocations: 188.6 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.00328, allocations: 42.53 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.003326, allocations: 28.91 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.003335, allocations: 0 / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.003352, allocations: 30.56 kB / 0.9846 GB, free: 15.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003352, allocations: 0 / 0.9846 GB, free: 15.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.003543, allocations: 93.47 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.003569, allocations: 51.41 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.003623, allocations: 113.9 kB / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.003632, allocations: 25.7 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.003663, allocations: 84.14 kB / 0.9849 GB, free: 15.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.003681, allocations: 11.94 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.003701, allocations: 9.719 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.003772, allocations: 318.8 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.00381, allocations: 15.98 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.003843, allocations: 15.92 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.003919, allocations: 44.89 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.003921, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.004023, allocations: 65.66 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.004033, allocations: 4 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.004038, allocations: 7.922 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.004048, allocations: 0 / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.004103, allocations: 19.95 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.004106, allocations: 0 / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.004128, allocations: 7.984 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.004131, allocations: 0 / 0.9854 GB, free: 14.55 MB / 0.948 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 4.734e-05/0.004179, allocations: 113.8 kB / 0.9855 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.00419, allocations: 3.953 kB / 0.9855 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.004203, allocations: 7.25 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.004204, allocations: 0 / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.004209, allocations: 4 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.004211, allocations: 0 / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.004291, allocations: 109.3 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004292, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.004314, allocations: 7.984 kB / 0.9857 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.004316, allocations: 4 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004321, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.004323, allocations: 3.938 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.004324, allocations: 256 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.004444, allocations: 163.5 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.004448, allocations: 4.031 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.004457, allocations: 8 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.004495, allocations: 11.92 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.00452, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.004522, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.004548, allocations: 83.28 kB / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004548, allocations: 0 / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001323/0.004681, allocations: 4 kB / 0.9859 GB, free: 13.98 MB / 0.948 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 6.639e-05/0.004747, allocations: 103.7 kB / 0.986 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.004857, allocations: 35.97 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.004858, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.004905, allocations: 27.86 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.005077, allocations: 10.48 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.005285, allocations: 126.5 kB / 0.9862 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.005325, allocations: 63.47 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.005345, allocations: 12.5 kB / 0.9863 GB, free: 13.55 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.005345, allocations: 0 / 0.9863 GB, free: 13.55 MB / 0.948 GB Notification: Performance of Templates: time 0.001314/0.006659, allocations: 0.5657 MB / 0.9869 GB, free: 12.99 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.578354956582189]