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.001602/0.001602, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001767/0.001767, allocations: 219.4 kB / 23.01 MB, free: 4.609 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.111/3.111, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002236/0.002236, allocations: 65.31 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3266, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002046/0.3287, allocations: 0.6721 MB / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3298, allocations: 0.8592 MB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.3299, allocations: 0 / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3299, allocations: 3.938 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.33, allocations: 7.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3302, allocations: 15.98 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.3302, allocations: 23.86 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.3303, allocations: 11.98 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.3304, allocations: 8 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.3304, allocations: 11.92 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3304, allocations: 4 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.3305, allocations: 8 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.3305, allocations: 0 / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.3305, allocations: 15.92 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.3307, allocations: 27.89 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3307, allocations: 0 / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3307, allocations: 0 / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3307, allocations: 3.938 kB / 1.329 GB, free: 15.77 MB / 1.029 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.0004837/0.3312, allocations: 262.3 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3312, allocations: 15.97 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.3313, allocations: 0.9375 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3314, allocations: 114.5 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3314, allocations: 384 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.3314, allocations: 384 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3316, allocations: 50.23 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3317, allocations: 4.172 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3317, allocations: 3.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3317, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3318, allocations: 35.95 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.3322, allocations: 224 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3324, allocations: 46.42 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.3325, allocations: 20.91 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3325, allocations: 4 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3325, allocations: 34.56 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3325, allocations: 0 / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003801/0.3329, allocations: 77.64 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3329, allocations: 55.34 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.333, allocations: 102 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.333, allocations: 25.7 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.3331, allocations: 88.12 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.3331, allocations: 7.953 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.3331, allocations: 13.72 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3333, allocations: 310.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3334, allocations: 15.98 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.3335, allocations: 19.97 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3337, allocations: 36.83 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3337, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.3339, allocations: 77.53 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3339, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3339, allocations: 4.094 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3339, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.334, allocations: 11.98 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.334, allocations: 3.938 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.334, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.334, allocations: 0 / 1.33 GB, free: 13.93 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 8.929e-05/0.3341, allocations: 118.3 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3341, allocations: 3.953 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3344, allocations: 72.97 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3344, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3344, allocations: 4 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3344, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3345, allocations: 132.6 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3345, allocations: 3.938 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.3346, allocations: 7.984 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3346, allocations: 4 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3346, allocations: 4.031 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3346, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3346, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3349, allocations: 163.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.3349, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3349, allocations: 3.984 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.335, allocations: 8.031 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.335, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.335, allocations: 7.984 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.3351, allocations: 83.47 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3351, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002141/0.3353, allocations: 4 kB / 1.331 GB, free: 13.24 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.0001257/0.3354, allocations: 95.19 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3356, allocations: 39.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3356, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.3357, allocations: 19.98 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.336, allocations: 9.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.3363, allocations: 124 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3366, allocations: 0.6847 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.3367, allocations: 7.578 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3367, allocations: 3.938 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of Templates: time 0.002013/0.3387, allocations: 0.5411 MB / 1.332 GB, free: 11.66 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/jenkins1/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: 10.882975076005096]