Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001791/0.001791, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001672/0.001672, allocations: 215.8 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.129/3.129, allocations: 0.49 GB / 0.7958 GB, free: 33.45 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.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.002064/0.002064, allocations: 66.11 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3812, allocations: 176.1 MB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001846/0.383, allocations: 0.5599 MB / 1.328 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.032e-05/0.3831, allocations: 7.938 kB / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.3831, allocations: 0 / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.3831, allocations: 0 / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.536e-05/0.3831, allocations: 0 / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 1.451e-05/0.3831, allocations: 0 / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.402e-05/0.3831, allocations: 4 kB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.3832, allocations: 4 kB / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-06/0.3832, allocations: 0 / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-06/0.3832, allocations: 0 / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.3832, allocations: 0 / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-06/0.3832, allocations: 0 / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-06/0.3832, allocations: 4 kB / 1.328 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.3832, allocations: 3.938 kB / 1.328 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.953e-05/0.3833, allocations: 7.984 kB / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3833, allocations: 0 / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3833, allocations: 0 / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3833, allocations: 3.938 kB / 1.328 GB, free: 0.7734 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.0003109/0.3836, allocations: 238.4 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3836, allocations: 8.031 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.3837, allocations: 0.9375 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3838, allocations: 114.5 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3838, allocations: 4.375 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.3838, allocations: 384 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.3839, allocations: 30.27 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3839, allocations: 192 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3839, allocations: 3.938 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3839, allocations: 0 / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.3839, allocations: 4 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3843, allocations: 362.5 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3844, allocations: 169.5 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.3844, allocations: 80.14 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3845, allocations: 79.31 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.3845, allocations: 105.8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3845, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.377e-05/0.3846, allocations: 33.64 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.3847, allocations: 126.7 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.3848, allocations: 101.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3848, allocations: 25.7 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.3848, allocations: 84.12 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.3848, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.3849, allocations: 17.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.385, allocations: 314.8 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.385, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.385, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.3851, allocations: 75.28 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/0.3851, allocations: 75.28 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.858e-05/0.3852, allocations: 41.58 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.3852, allocations: 79.28 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/0.3852, allocations: 79.28 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.598e-05/0.3853, allocations: 158.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.3854, allocations: 79.22 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/0.3854, allocations: 150.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.3855, allocations: 79.22 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3855, allocations: 79.28 kB / 1.33 GB, free: 13.83 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.00015/0.3857, allocations: 268.3 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.3858, allocations: 109 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.3858, allocations: 112.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/0.3859, allocations: 176.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001009/0.386, allocations: 184.1 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.79e-05/0.3861, allocations: 184.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3864, allocations: 376.2 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.989e-05/0.3864, allocations: 108.9 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.3865, allocations: 101 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.725e-05/0.3866, allocations: 184.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.052e-05/0.3867, allocations: 184.2 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.83e-05/0.3867, allocations: 180.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.593e-05/0.3868, allocations: 180.2 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.387, allocations: 311.7 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.3871, allocations: 109 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.3872, allocations: 184.2 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.3873, allocations: 101 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3874, allocations: 176.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.3874, allocations: 112.9 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.3875, allocations: 79.28 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3875, allocations: 0 / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002595/0.3877, allocations: 0 / 1.334 GB, free: 10.28 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.0001495/0.3879, allocations: 182.6 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.739e-05/0.3879, allocations: 7.938 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3879, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3879, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3883, allocations: 463.6 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.3886, allocations: 186 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3889, allocations: 0.669 MB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.3889, allocations: 7.438 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3889, allocations: 0 / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of Templates: time 0.001686/0.3906, allocations: 325.1 kB / 1.335 GB, free: 8.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.109133163990919]