Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001795/0.001795, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002075/0.002075, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [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.002393/0.002393, allocations: 63.89 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3609, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00203/0.3629, allocations: 0.66 MB / 1.118 GB, free: 1.832 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3641, allocations: 0.8471 MB / 1.119 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.3641, allocations: 0 / 1.119 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3641, allocations: 3.938 kB / 1.119 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.3642, allocations: 3.938 kB / 1.119 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3644, allocations: 15.97 kB / 1.119 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.3645, allocations: 23.92 kB / 1.119 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.3645, allocations: 4 kB / 1.119 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.3646, allocations: 11.98 kB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.3646, allocations: 7.938 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3647, allocations: 4 kB / 1.119 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.261e-05/0.3647, allocations: 4 kB / 1.119 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.3647, allocations: 7.984 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.3647, allocations: 15.92 kB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3648, allocations: 27.84 kB / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3649, allocations: 0 / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3649, allocations: 0 / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3649, allocations: 0 / 1.119 GB, free: 0.8438 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004413/0.3653, allocations: 262.3 kB / 1.119 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3653, allocations: 8.031 kB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.3654, allocations: 4.938 kB / 1.119 GB, free: 0.543 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3655, allocations: 118.4 kB / 1.119 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3655, allocations: 4.312 kB / 1.119 GB, free: 408 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3655, allocations: 8.312 kB / 1.119 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3657, allocations: 46.23 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3657, allocations: 4.172 kB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3657, allocations: 7.938 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3657, allocations: 0 / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.366, allocations: 27.97 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.3664, allocations: 196.6 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3665, allocations: 38.5 kB / 1.12 GB, free: 32 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.3666, allocations: 24.91 kB / 1.12 GB, free: 4 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.3667, allocations: 3.938 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3667, allocations: 34.55 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3667, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.000356/0.3671, allocations: 77.66 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3671, allocations: 55.41 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.3672, allocations: 105.8 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3672, allocations: 25.7 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.3673, allocations: 84.14 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3673, allocations: 3.953 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3673, allocations: 17.7 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3675, allocations: 318.8 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.3675, allocations: 20.11 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.3676, allocations: 11.98 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3678, allocations: 44.81 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3678, allocations: 0 / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002222/0.368, allocations: 61.61 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.368, allocations: 12.09 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.368, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.368, allocations: 7.922 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.3681, allocations: 8 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3681, allocations: 0 / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.3682, allocations: 7.984 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.3682, allocations: 0 / 1.121 GB, free: 15.05 MB / 1.076 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.634e-05/0.3683, allocations: 105.8 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3683, allocations: 11.89 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.3685, allocations: 72.97 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3685, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3685, allocations: 3.984 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3685, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3687, allocations: 101.3 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3687, allocations: 4 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.3687, allocations: 11.92 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3687, allocations: 7.875 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3687, allocations: 4 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3687, allocations: 4.031 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3687, allocations: 4 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3691, allocations: 159.5 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.3691, allocations: 3.938 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3691, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.3692, allocations: 7.984 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3692, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3692, allocations: 4 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.3693, allocations: 91.48 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3693, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002206/0.3695, allocations: 4 kB / 1.121 GB, free: 14.4 MB / 1.076 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.0001036/0.3696, allocations: 91.25 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3698, allocations: 47.83 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3698, allocations: 0 / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.3699, allocations: 24.05 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3702, allocations: 4 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.3705, allocations: 122.1 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.3705, allocations: 59.34 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.3706, allocations: 144 / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3706, allocations: 8.5 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.3706, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of Templates: time 0.002885/0.3735, allocations: 478 kB / 1.122 GB, free: 13.53 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.723163999035023]