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.001679/0.001679, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.002027/0.002027, allocations: 161.7 kB / 22.76 MB, free: 1.684 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 1.534/1.534, allocations: 177.2 MB / 203.1 MB, free: 5.605 MB / 186.7 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.263/3.263, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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.224e-06/2.224e-06, allocations: 0 / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.257e-05, allocations: 4.984 kB / 0.8777 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002046/0.002079, allocations: 0.6771 MB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003336, allocations: 0.817 MB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.003375, allocations: 1.062 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.003406, allocations: 3.938 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.003492, allocations: 3.125 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.714e-05/0.003559, allocations: 8 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.003637, allocations: 22.48 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003748, allocations: 11.98 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.003831, allocations: 8 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.003868, allocations: 11.91 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.003887, allocations: 4 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.003895, allocations: 5.344 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.003912, allocations: 4 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.003943, allocations: 7.984 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.004035, allocations: 20.75 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004039, allocations: 4 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004039, allocations: 0.6562 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004043, allocations: 0 / 0.8792 GB, free: 4.828 MB / 0.8386 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.0005115/0.004555, allocations: 266 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.004598, allocations: 12.03 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.004641, allocations: 0.9375 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.004785, allocations: 125.7 kB / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.004799, allocations: 384 / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.004808, allocations: 384 / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.005008, allocations: 46.25 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.00502, allocations: 192 / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.00503, allocations: 384 / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005034, allocations: 6.438 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.005219, allocations: 35.89 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.005567, allocations: 196.5 kB / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.005713, allocations: 39.53 kB / 0.8799 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.005816, allocations: 26.03 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.00583, allocations: 0 / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.005862, allocations: 31.66 kB / 0.88 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.005863, allocations: 0 / 0.88 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003885/0.006252, allocations: 91.11 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.006298, allocations: 51.41 kB / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006403, allocations: 108.2 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.006424, allocations: 25.7 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.006483, allocations: 84.09 kB / 0.8803 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.0065, allocations: 4 kB / 0.8803 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.006538, allocations: 13.72 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.006708, allocations: 318.8 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.006795, allocations: 14.17 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.006875, allocations: 15.98 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.007039, allocations: 41.73 kB / 0.8807 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00704, allocations: 1.656 kB / 0.8807 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002358/0.007276, allocations: 77.55 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.007291, allocations: 5.281 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.007298, allocations: 3.938 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.007319, allocations: 4 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.007422, allocations: 12.2 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007428, allocations: 4 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.007479, allocations: 7.984 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.007484, allocations: 0 / 0.8808 GB, free: 3.035 MB / 0.8386 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 9.402e-05/0.007578, allocations: 109.8 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.007601, allocations: 0 / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.007626, allocations: 11.25 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007629, allocations: 4 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007632, allocations: 0 / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007634, allocations: 0 / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.007784, allocations: 105.3 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007785, allocations: 4 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.007855, allocations: 15.98 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007858, allocations: 0 / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.007864, allocations: 0 / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.007868, allocations: 7.875 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00787, allocations: 0 / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.008178, allocations: 159.5 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.008192, allocations: 4 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.008204, allocations: 4.031 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.008287, allocations: 11.92 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.008329, allocations: 4 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.008331, allocations: 0 / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.008388, allocations: 79.28 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008388, allocations: 0 / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002194/0.008608, allocations: 4 kB / 0.8813 GB, free: 2.465 MB / 0.8386 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.0001417/0.00875, allocations: 99.23 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.008976, allocations: 43.91 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008977, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.009074, allocations: 15.98 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.009405, allocations: 15.92 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.009761, allocations: 108.7 kB / 0.8816 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.009838, allocations: 63.2 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.009863, allocations: 4.125 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.009897, allocations: 12.5 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.009897, allocations: 0 / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of Templates: time 0.003054/0.01295, allocations: 493.2 kB / 0.8822 GB, free: 1.582 MB / 0.8386 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.246187373064458]