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.00191/0.00191, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002472/0.002472, allocations: 174.3 kB / 22.46 MB, free: 5.355 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.959/2.959, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.204e-06/2.204e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.006e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001812/0.001842, allocations: 0.6633 MB / 0.9821 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.002895, allocations: 0.8236 MB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.002926, allocations: 0 / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.002951, allocations: 0 / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.003004, allocations: 3.938 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.163e-05/0.003056, allocations: 4 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.003124, allocations: 27.92 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003226, allocations: 15.97 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.00329, allocations: 8 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.003324, allocations: 7.922 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.003345, allocations: 4 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.003354, allocations: 4 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.00337, allocations: 4 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.003395, allocations: 11.92 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.607e-05/0.003471, allocations: 19.91 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003474, allocations: 4 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003474, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.003482, allocations: 4 kB / 0.9831 GB, free: 10.29 MB / 0.9356 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.0004395/0.003921, allocations: 258.3 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.003959, allocations: 12.03 kB / 0.9833 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.003987, allocations: 4.891 kB / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004127, allocations: 117.7 kB / 0.9834 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.004136, allocations: 4.359 kB / 0.9834 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.004147, allocations: 384 / 0.9834 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.004323, allocations: 50.19 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.00433, allocations: 192 / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.004338, allocations: 4.375 kB / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.004341, allocations: 384 / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.00451, allocations: 39.89 kB / 0.9835 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.004835, allocations: 196.6 kB / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.004979, allocations: 38.66 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.005075, allocations: 24.78 kB / 0.9838 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.005085, allocations: 8 kB / 0.9838 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.005116, allocations: 34.56 kB / 0.9838 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005117, allocations: 0 / 0.9838 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.005467, allocations: 85.53 kB / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.005506, allocations: 51.41 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.005608, allocations: 105.8 kB / 0.9841 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.005627, allocations: 25.7 kB / 0.9841 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.005679, allocations: 88.27 kB / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.005696, allocations: 3.953 kB / 0.9842 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.005735, allocations: 13.72 kB / 0.9842 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.005888, allocations: 318.8 kB / 0.9845 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.005977, allocations: 19.92 kB / 0.9845 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.006052, allocations: 15.98 kB / 0.9845 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.006212, allocations: 36.83 kB / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.006214, allocations: 8 kB / 0.9846 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.006423, allocations: 65.66 kB / 0.9846 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.006438, allocations: 4 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.006443, allocations: 3.938 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.006455, allocations: 0 / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.006547, allocations: 11.98 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006552, allocations: 0 / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.006605, allocations: 12.02 kB / 0.9847 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.006609, allocations: 0 / 0.9847 GB, free: 8.484 MB / 0.9356 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 7.799e-05/0.006687, allocations: 117.7 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.006715, allocations: 7.953 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.006732, allocations: 7.25 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006734, allocations: 0 / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.006738, allocations: 0 / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.00674, allocations: 0 / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.006884, allocations: 105.3 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.006887, allocations: 4 kB / 0.9849 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.006947, allocations: 11.98 kB / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006948, allocations: 0 / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.006956, allocations: 0 / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.00696, allocations: 3.938 kB / 0.9849 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00696, allocations: 0 / 0.9849 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.007231, allocations: 163.5 kB / 0.9851 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.007237, allocations: 256 / 0.9851 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.00725, allocations: 0 / 0.9851 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.007334, allocations: 15.92 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.007367, allocations: 7.969 kB / 0.9851 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.00737, allocations: 4 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.007419, allocations: 83.28 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007419, allocations: 0 / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002148/0.007633, allocations: 4 kB / 0.9852 GB, free: 7.906 MB / 0.9356 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.0001477/0.007781, allocations: 95.77 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.007996, allocations: 35.97 kB / 0.9853 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007998, allocations: 4.062 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.008086, allocations: 19.98 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.008373, allocations: 3.984 kB / 0.9853 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.008678, allocations: 116.6 kB / 0.9854 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.038e-05/0.008749, allocations: 59.36 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.00877, allocations: 0 / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.008798, allocations: 12.56 kB / 0.9855 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.008799, allocations: 0 / 0.9855 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.002903/0.0117, allocations: 474.4 kB / 0.986 GB, free: 7.059 MB / 0.9356 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: 8.472521666437387]