Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3179, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001752/0.3197, allocations: 0.5398 MB / 1.215 GB, free: 436 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 4.842e-05/0.3197, allocations: 4 kB / 1.215 GB, free: 432 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.3198, allocations: 0 / 1.215 GB, free: 432 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.3198, allocations: 0 / 1.215 GB, free: 432 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.3198, allocations: 4 kB / 1.215 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 2.979e-05/0.3198, allocations: 0 / 1.215 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.3199, allocations: 3.938 kB / 1.215 GB, free: 424 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.3199, allocations: 4 kB / 1.215 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.3199, allocations: 0 / 1.215 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.741e-05/0.32, allocations: 0 / 1.215 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.32, allocations: 0 / 1.215 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-06/0.32, allocations: 0 / 1.215 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.32, allocations: 7.938 kB / 1.215 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.32, allocations: 4 kB / 1.215 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 5.844e-05/0.3201, allocations: 7.922 kB / 1.215 GB, free: 400 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3201, allocations: 7.984 kB / 1.215 GB, free: 392 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3201, allocations: 0 / 1.215 GB, free: 392 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3201, allocations: 0 / 1.215 GB, free: 392 kB / 0.9512 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.0003449/0.3204, allocations: 315.5 kB / 1.215 GB, free: 24 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3205, allocations: 8.031 kB / 1.215 GB, free: 16 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.3205, allocations: 0.9375 kB / 1.215 GB, free: 16 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3206, allocations: 164.4 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3207, allocations: 8.359 kB / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.3207, allocations: 384 / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.969e-05/0.3207, allocations: 30.33 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3208, allocations: 192 / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3208, allocations: 3.938 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3208, allocations: 7.938 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.346e-05/0.3208, allocations: 0 / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3211, allocations: 383.5 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3212, allocations: 173.1 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.3213, allocations: 84.08 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3213, allocations: 79.22 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/0.3214, allocations: 105.8 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.3214, allocations: 0 / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.3214, allocations: 33.7 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.3215, allocations: 130.7 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.3216, allocations: 97.84 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3216, allocations: 25.7 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.3216, allocations: 80.14 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3216, allocations: 0 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.3217, allocations: 9.719 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3218, allocations: 318.8 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.3218, allocations: 4.125 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.3218, allocations: 3.938 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.3218, allocations: 75.28 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/0.3219, allocations: 75.28 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.954e-05/0.3219, allocations: 33.64 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.322, allocations: 79.28 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.322, allocations: 79.27 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.108e-05/0.3221, allocations: 158.5 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.3221, allocations: 83.28 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.468e-05/0.3222, allocations: 154.5 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/0.3223, allocations: 79.28 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.3223, allocations: 79.27 kB / 1.217 GB, free: 13.25 MB / 0.9669 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.0001325/0.3224, allocations: 268.3 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.3225, allocations: 113.6 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.3226, allocations: 104.1 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.472e-05/0.3226, allocations: 184.2 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-05/0.3227, allocations: 180.3 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.501e-05/0.3228, allocations: 184.2 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3231, allocations: 405.4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-05/0.3231, allocations: 105 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.3232, allocations: 108.9 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.632e-05/0.3232, allocations: 188.3 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.3233, allocations: 180.2 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.506e-05/0.3234, allocations: 180.3 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/0.3235, allocations: 184.2 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3236, allocations: 311.7 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.3237, allocations: 182 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.3238, allocations: 176.3 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.3239, allocations: 105 kB / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.324, allocations: 192.2 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.324, allocations: 101 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.3241, allocations: 79.28 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3241, allocations: 0 / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002441/0.3243, allocations: 0 / 1.221 GB, free: 9.566 MB / 0.9669 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.0001548/0.3245, allocations: 174.6 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.36e-05/0.3245, allocations: 7.938 kB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3245, allocations: 0 / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.3245, allocations: 0 / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.3249, allocations: 467.6 kB / 1.221 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.3252, allocations: 185.9 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3254, allocations: 0.6729 MB / 1.222 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3255, allocations: 11.44 kB / 1.222 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3255, allocations: 0 / 1.222 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of Templates: time 0.001696/0.3272, allocations: 319.8 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.16106576914899]