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.001677/0.001677, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001994/0.001994, allocations: 157.4 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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 2.784/2.784, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.003204/0.003204, allocations: 59.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.9628, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001522/0.9643, allocations: 0.5841 MB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.465e-05/0.9644, allocations: 7.938 kB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.9644, allocations: 4 kB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.9644, allocations: 0 / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.705e-05/0.9645, allocations: 2.719 kB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.038e-05/0.9645, allocations: 0 / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.9645, allocations: 0 / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.9646, allocations: 2.875 kB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.194e-05/0.9646, allocations: 7.875 kB / 1.155 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.9646, allocations: 0 / 1.155 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.9646, allocations: 0 / 1.155 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-06/0.9646, allocations: 0 / 1.155 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.9646, allocations: 6.828 kB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.9647, allocations: 8 kB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.608e-05/0.9647, allocations: 7.266 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9647, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9647, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.9647, allocations: 0 / 1.155 GB, free: 32.95 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.0002178/0.965, allocations: 235.6 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.965, allocations: 8.594 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.965, allocations: 8.266 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.036e-05/0.9651, allocations: 117.3 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.9651, allocations: 384 / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.9651, allocations: 3.125 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.574e-05/0.9652, allocations: 30.27 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.9652, allocations: 192 / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.9652, allocations: 3.938 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9652, allocations: 2.719 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.273e-05/0.9652, allocations: 0 / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.9654, allocations: 336.3 kB / 1.155 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.9654, allocations: 169.1 kB / 1.155 GB, free: 31.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.9654, allocations: 82.92 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.9655, allocations: 79.22 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.9655, allocations: 105.8 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.9655, allocations: 4 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 5.807e-05/0.9655, allocations: 32.3 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.9656, allocations: 130.7 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.918e-05/0.9656, allocations: 96.02 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.9656, allocations: 25.7 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.9656, allocations: 80.14 kB / 1.156 GB, free: 31.33 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.9656, allocations: 0 / 1.156 GB, free: 31.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.9657, allocations: 12.44 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.9657, allocations: 310.8 kB / 1.156 GB, free: 31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.9657, allocations: 128 / 1.156 GB, free: 31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.9657, allocations: 6.781 kB / 1.156 GB, free: 31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.158e-05/0.9657, allocations: 75.28 kB / 1.156 GB, free: 30.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.9657, allocations: 75.28 kB / 1.156 GB, free: 30.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.573e-05/0.9658, allocations: 43.84 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.9658, allocations: 80.47 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.9658, allocations: 79.22 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.9658, allocations: 157.1 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-06/0.9659, allocations: 79.22 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.9659, allocations: 153.5 kB / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.9659, allocations: 75.28 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.9659, allocations: 89.48 kB / 1.157 GB, free: 30.12 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 4.708e-05/0.966, allocations: 260.9 kB / 1.157 GB, free: 29.85 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.966, allocations: 107.9 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.966, allocations: 111.9 kB / 1.158 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.9661, allocations: 182.2 kB / 1.158 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.9661, allocations: 180.2 kB / 1.158 GB, free: 29.26 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.9661, allocations: 179 kB / 1.158 GB, free: 29.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.9662, allocations: 356.1 kB / 1.159 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.9662, allocations: 104.9 kB / 1.159 GB, free: 28.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.9662, allocations: 101 kB / 1.159 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.9663, allocations: 190.8 kB / 1.159 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.9663, allocations: 180.3 kB / 1.159 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-05/0.9663, allocations: 186.3 kB / 1.159 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-05/0.9663, allocations: 180.2 kB / 1.159 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.696e-05/0.9664, allocations: 305.4 kB / 1.16 GB, free: 27.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.9664, allocations: 119.3 kB / 1.16 GB, free: 27.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.9664, allocations: 176.3 kB / 1.16 GB, free: 27.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.9665, allocations: 111.8 kB / 1.16 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.9665, allocations: 176.3 kB / 1.16 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.9665, allocations: 111.3 kB / 1.16 GB, free: 26.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.606e-05/0.9666, allocations: 79.28 kB / 1.16 GB, free: 26.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9666, allocations: 0 / 1.16 GB, free: 26.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003002/0.9669, allocations: 0 / 1.16 GB, free: 26.65 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 7.849e-05/0.9669, allocations: 171.8 kB / 1.161 GB, free: 26.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.051e-05/0.967, allocations: 4 kB / 1.161 GB, free: 26.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.967, allocations: 0 / 1.161 GB, free: 26.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.967, allocations: 0 / 1.161 GB, free: 26.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.9672, allocations: 454.6 kB / 1.161 GB, free: 26.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.9675, allocations: 158.8 kB / 1.161 GB, free: 25.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.9675, allocations: 62.44 kB / 1.161 GB, free: 25.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.845e-06/0.9675, allocations: 4 kB / 1.161 GB, free: 25.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.9675, allocations: 8.5 kB / 1.161 GB, free: 25.78 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.9675, allocations: 2.938 kB / 1.161 GB, free: 25.78 MB / 1.076 GB Notification: Performance of Templates: time 0.002341/0.9698, allocations: 139.7 kB / 1.161 GB, free: 25.73 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.77113244892098]