Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002016/0.002016, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002538/0.002538, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.629/1.629, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_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_12_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.002118/0.002118, allocations: 69.66 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4343, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002304/0.4366, allocations: 0.6697 MB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4378, allocations: 0.8397 MB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.4379, allocations: 0 / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.4379, allocations: 3.938 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.438, allocations: 4 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.4382, allocations: 19.92 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.4383, allocations: 31.86 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.4384, allocations: 4 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.4385, allocations: 11.92 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.4385, allocations: 11.98 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.4385, allocations: 0 / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.4386, allocations: 4 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.4386, allocations: 11.94 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.4386, allocations: 3.984 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.4388, allocations: 27.84 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.4388, allocations: 8 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4388, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.4388, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 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.0005453/0.4393, allocations: 258.3 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4394, allocations: 8.031 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4395, allocations: 8.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4396, allocations: 106.5 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4396, allocations: 384 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4396, allocations: 12.3 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4398, allocations: 50.25 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4398, allocations: 192 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4398, allocations: 3.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4398, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.44, allocations: 39.94 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.4404, allocations: 196.5 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4405, allocations: 42.53 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.4406, allocations: 20.91 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4406, allocations: 7.875 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4407, allocations: 34.56 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.4407, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.441, allocations: 77.64 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4411, allocations: 55.41 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.4412, allocations: 105.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4412, allocations: 29.83 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.4413, allocations: 80.14 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.4413, allocations: 7.953 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.4413, allocations: 13.72 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4415, allocations: 318.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.4415, allocations: 15.98 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.4416, allocations: 11.98 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4417, allocations: 40.89 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4417, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.4419, allocations: 69.59 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4419, allocations: 7.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.442, allocations: 3.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.442, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4421, allocations: 15.98 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4421, allocations: 4.031 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4421, allocations: 7.984 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4421, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 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.612e-05/0.4422, allocations: 110.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4423, allocations: 7.891 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4425, allocations: 68.97 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4425, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4425, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4425, allocations: 4.031 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.4426, allocations: 101.3 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4426, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.4427, allocations: 15.92 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.4427, allocations: 7.938 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.4427, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4427, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4427, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.443, allocations: 163.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.443, allocations: 3.938 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.443, allocations: 4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.4431, allocations: 7.984 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.4431, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4431, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.4431, allocations: 79.28 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4431, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002076/0.4434, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 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.0001469/0.4435, allocations: 99.27 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.4437, allocations: 43.91 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4437, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.4438, allocations: 15.97 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.4441, allocations: 4 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.4444, allocations: 110.3 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.4445, allocations: 59.48 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.4445, allocations: 3.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.4445, allocations: 11.44 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4445, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Templates: time 0.003192/0.4477, allocations: 471.1 kB / 1.33 GB, free: 12.92 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.628228882327676]