Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001729/0.001729, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002236/0.002236, allocations: 222.9 kB / 23 MB, free: 4.91 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.122/3.122, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.002147/0.002147, allocations: 68.2 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3446, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001832/0.3465, allocations: 0.5793 MB / 1.327 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.721e-05/0.3465, allocations: 7.938 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.3465, allocations: 0 / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.3466, allocations: 0 / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.198e-05/0.3466, allocations: 0 / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.437e-05/0.3466, allocations: 3.938 kB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.3467, allocations: 11.94 kB / 1.327 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.3467, allocations: 3.984 kB / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/0.3467, allocations: 0 / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.641e-05/0.3468, allocations: 0 / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.3468, allocations: 4 kB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-06/0.3468, allocations: 0 / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3468, allocations: 0 / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.3468, allocations: 4 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.945e-05/0.3469, allocations: 7.922 kB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3469, allocations: 0 / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3469, allocations: 0 / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3469, allocations: 0 / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003299/0.3472, allocations: 242.4 kB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3472, allocations: 12.03 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.3472, allocations: 0.9375 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3474, allocations: 106.5 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.3474, allocations: 384 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3474, allocations: 8.375 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.902e-05/0.3475, allocations: 26.27 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3475, allocations: 192 / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3475, allocations: 3.938 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3475, allocations: 0 / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.3475, allocations: 4 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.3479, allocations: 335.1 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.348, allocations: 169.5 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.348, allocations: 84.14 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.3481, allocations: 83.25 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/0.3481, allocations: 109.8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.3481, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.919e-05/0.3482, allocations: 33.64 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.3483, allocations: 130.7 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.3484, allocations: 93.84 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3484, allocations: 25.7 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.3484, allocations: 80.14 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.3484, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3485, allocations: 17.72 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3486, allocations: 310.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.3486, allocations: 4.125 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/0.3486, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.3487, allocations: 75.28 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/0.3487, allocations: 75.28 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.712e-05/0.3487, allocations: 33.64 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.3488, allocations: 87.16 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/0.3488, allocations: 87.27 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.621e-05/0.3489, allocations: 154.5 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.349, allocations: 79.22 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.925e-05/0.349, allocations: 158.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.3491, allocations: 79.22 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3491, allocations: 79.28 kB / 1.33 GB, free: 14.28 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 (0): * Single equations (assignments): 0 * 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 0.0001399/0.3493, allocations: 260.4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.3494, allocations: 108.9 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.3494, allocations: 111.9 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.501e-05/0.3495, allocations: 184.3 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.008e-05/0.3496, allocations: 180.2 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-05/0.3497, allocations: 176.3 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.3499, allocations: 352.9 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/0.35, allocations: 108.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.35, allocations: 109 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-05/0.3501, allocations: 188.1 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.3502, allocations: 180.2 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.623e-05/0.3503, allocations: 180.6 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.649e-05/0.3504, allocations: 180.2 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3506, allocations: 307.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.3506, allocations: 112.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.3507, allocations: 176.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.3508, allocations: 104.9 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.3509, allocations: 184.3 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.351, allocations: 104.9 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.351, allocations: 83.27 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.351, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002711/0.3513, allocations: 4 kB / 1.333 GB, free: 10.76 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 (0): * Single equations (assignments): 0 * 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.0001474/0.3514, allocations: 170.5 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.355e-05/0.3515, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3515, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3515, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3519, allocations: 455.7 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3522, allocations: 188.3 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.3522, allocations: 63.34 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.3522, allocations: 7.438 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3522, allocations: 0 / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of Templates: time 0.001529/0.3538, allocations: 323.7 kB / 1.334 GB, free: 9.508 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.882212254218757]