Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001422/0.001422, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001523/0.001523, allocations: 156 kB / 23.01 MB, free: 4.605 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.945/2.945, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003061/0.003061, allocations: 63.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9224, allocations: 181.8 MB / 1.187 GB, free: 16.26 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001599/0.924, allocations: 0.5493 MB / 1.187 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.408e-05/0.924, allocations: 4.703 kB / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.924, allocations: 1.375 kB / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.924, allocations: 0 / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.9241, allocations: 0 / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 2.759e-05/0.9241, allocations: 1.375 kB / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.9242, allocations: 2.172 kB / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.9242, allocations: 2.078 kB / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.9242, allocations: 3.984 kB / 1.187 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/0.9242, allocations: 4 kB / 1.187 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.9243, allocations: 1.375 kB / 1.187 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.9243, allocations: 0 / 1.187 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.9243, allocations: 4 kB / 1.187 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.9243, allocations: 9.25 kB / 1.187 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.401e-05/0.9243, allocations: 1.453 kB / 1.187 GB, free: 15.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9243, allocations: 5.828 kB / 1.187 GB, free: 15.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9243, allocations: 0 / 1.187 GB, free: 15.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.9244, allocations: 0 / 1.187 GB, free: 15.9 MB / 1.076 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.0002266/0.9246, allocations: 236.2 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.9246, allocations: 9.625 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.9246, allocations: 1.688 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.9247, allocations: 110 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.9247, allocations: 4.375 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.9247, allocations: 1.75 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.149e-05/0.9248, allocations: 28.3 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9248, allocations: 192 / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.9248, allocations: 3.938 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.9249, allocations: 5.969 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.537e-05/0.9249, allocations: 5.312 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.9251, allocations: 329.4 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.9251, allocations: 167.3 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.9252, allocations: 81.52 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.9252, allocations: 83.22 kB / 1.188 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.9252, allocations: 111.7 kB / 1.188 GB, free: 14.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.9252, allocations: 3.938 kB / 1.188 GB, free: 14.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.564e-05/0.9253, allocations: 27.92 kB / 1.188 GB, free: 14.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.9253, allocations: 128.7 kB / 1.188 GB, free: 14.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.9253, allocations: 91.94 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.9253, allocations: 25.7 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.9254, allocations: 86.06 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.9254, allocations: 0 / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.9254, allocations: 11.09 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.9254, allocations: 317.6 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.9254, allocations: 4 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/0.9254, allocations: 1.375 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.211e-05/0.9255, allocations: 75.28 kB / 1.189 GB, free: 13.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.9255, allocations: 76.66 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.526e-05/0.9255, allocations: 40.25 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9255, allocations: 80.78 kB / 1.189 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.9255, allocations: 77.22 kB / 1.189 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.9256, allocations: 156.5 kB / 1.189 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.388e-05/0.9256, allocations: 77.22 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.9256, allocations: 152.6 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.9257, allocations: 84.59 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.9257, allocations: 79.89 kB / 1.19 GB, free: 13.07 MB / 1.076 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 5.728e-05/0.9257, allocations: 260 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.9258, allocations: 114.9 kB / 1.19 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.9258, allocations: 110 kB / 1.19 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.9258, allocations: 178.3 kB / 1.19 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.547e-05/0.9258, allocations: 182.3 kB / 1.191 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.9259, allocations: 182.3 kB / 1.191 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.926, allocations: 354.8 kB / 1.191 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.926, allocations: 102.9 kB / 1.191 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.926, allocations: 105.6 kB / 1.191 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.349e-05/0.926, allocations: 186.1 kB / 1.192 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.9261, allocations: 187 kB / 1.192 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.356e-05/0.9261, allocations: 182.3 kB / 1.192 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.271e-05/0.9261, allocations: 178.2 kB / 1.192 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.9262, allocations: 307.7 kB / 1.192 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.9262, allocations: 106.9 kB / 1.192 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.9262, allocations: 182.8 kB / 1.193 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.9263, allocations: 107.1 kB / 1.193 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.9263, allocations: 182.2 kB / 1.193 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.9263, allocations: 106.9 kB / 1.193 GB, free: 9.688 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.412e-05/0.9263, allocations: 85.39 kB / 1.193 GB, free: 9.605 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9263, allocations: 0 / 1.193 GB, free: 9.605 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002446/0.9266, allocations: 1.375 kB / 1.193 GB, free: 9.605 MB / 1.076 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.0001003/0.9267, allocations: 169.4 kB / 1.193 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.005e-05/0.9267, allocations: 1.375 kB / 1.193 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9267, allocations: 0 / 1.193 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.9267, allocations: 5.312 kB / 1.193 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.927, allocations: 459.3 kB / 1.194 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.9272, allocations: 154.7 kB / 1.194 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.9273, allocations: 59.23 kB / 1.194 GB, free: 8.746 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.683e-06/0.9273, allocations: 0 / 1.194 GB, free: 8.746 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.9273, allocations: 9.875 kB / 1.194 GB, free: 8.738 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.9273, allocations: 0 / 1.194 GB, free: 8.738 MB / 1.076 GB Notification: Performance of Templates: time 0.002099/0.9294, allocations: 151 kB / 1.194 GB, free: 8.676 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.014428538968787]