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.002315/0.002315, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002824/0.002824, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.404/3.404, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.758e-05, allocations: 7.375 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001633/0.001661, allocations: 0.5434 MB / 0.878 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.443e-05/0.001705, allocations: 12.09 kB / 0.878 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.001731, allocations: 0 / 0.878 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.001751, allocations: 0 / 0.878 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.001784, allocations: 4 kB / 0.878 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.103e-05/0.001815, allocations: 0 / 0.878 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.001865, allocations: 0.875 kB / 0.878 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.001905, allocations: 0 / 0.878 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.00194, allocations: 4.875 kB / 0.878 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.14e-05/0.001961, allocations: 0 / 0.878 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.001974, allocations: 0 / 0.878 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.217e-06/0.001977, allocations: 0 / 0.878 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.001991, allocations: 6.016 kB / 0.878 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.002009, allocations: 4 kB / 0.878 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.536e-05/0.002064, allocations: 3.984 kB / 0.878 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002066, allocations: 1.031 kB / 0.878 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002067, allocations: 4.766 kB / 0.878 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.00207, allocations: 0 / 0.878 GB, free: 6.07 MB / 0.8386 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.0003836/0.002454, allocations: 341.5 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.002489, allocations: 8.031 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.002521, allocations: 0.9375 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.002642, allocations: 121.7 kB / 0.8785 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.002653, allocations: 384 / 0.8785 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.002659, allocations: 2.141 kB / 0.8785 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.002733, allocations: 26.27 kB / 0.8785 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.00274, allocations: 4.188 kB / 0.8785 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.002749, allocations: 5.078 kB / 0.8785 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.002753, allocations: 384 / 0.8785 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.477e-05/0.002767, allocations: 4.469 kB / 0.8785 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.003154, allocations: 483.5 kB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.003327, allocations: 266.2 kB / 0.8792 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.003407, allocations: 126.9 kB / 0.8794 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.579e-05/0.003473, allocations: 119.2 kB / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.696e-05/0.00356, allocations: 153.2 kB / 0.8796 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.003561, allocations: 1.375 kB / 0.8796 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.175e-05/0.003643, allocations: 41.58 kB / 0.8797 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.003746, allocations: 170.6 kB / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.003887, allocations: 155.1 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.003911, allocations: 29.7 kB / 0.88 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.004013, allocations: 130.9 kB / 0.8801 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.004015, allocations: 1.312 kB / 0.8801 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.004049, allocations: 15.38 kB / 0.8801 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.004306, allocations: 0.4884 MB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.00431, allocations: 0 / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-06/0.004314, allocations: 4.188 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.004376, allocations: 119.2 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.957e-05/0.004435, allocations: 119.2 kB / 0.8808 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.464e-05/0.0045, allocations: 33.64 kB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/0.004572, allocations: 125.5 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.275e-05/0.004635, allocations: 123.1 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.004763, allocations: 242.4 kB / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.004825, allocations: 127.2 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001256/0.004951, allocations: 242.4 kB / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.00505, allocations: 128.2 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.00511, allocations: 123.2 kB / 0.8819 GB, free: 1.867 MB / 0.8386 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.0002229/0.005333, allocations: 395.1 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.00543, allocations: 152.8 kB / 0.8825 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.005527, allocations: 155.8 kB / 0.8826 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/0.005659, allocations: 264.1 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001372/0.005796, allocations: 276 kB / 0.8831 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/0.005932, allocations: 264.1 kB / 0.8834 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.006301, allocations: 0.496 MB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.297e-05/0.006374, allocations: 144.9 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.006568, allocations: 144.9 kB / 0.8841 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.006704, allocations: 276 kB / 0.8844 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.006841, allocations: 264.1 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001401/0.006981, allocations: 279.9 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000133/0.007114, allocations: 268.1 kB / 0.8852 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.007385, allocations: 444 kB / 0.8856 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.007467, allocations: 144.9 kB / 0.8857 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.007616, allocations: 276 kB / 0.886 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.007738, allocations: 152.8 kB / 0.8861 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.007876, allocations: 264.1 kB / 0.8864 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.007957, allocations: 153.2 kB / 0.8865 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.008029, allocations: 123.2 kB / 0.8867 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.008029, allocations: 0 / 0.8867 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002561/0.008285, allocations: 4.094 kB / 0.8867 GB, free: 12.82 MB / 0.8542 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.000195/0.00848, allocations: 218.4 kB / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.638e-05/0.008526, allocations: 0 / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008528, allocations: 0 / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.008529, allocations: 0 / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.009078, allocations: 0.7061 MB / 0.8876 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.009376, allocations: 212.7 kB / 0.8878 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.613e-05/0.009442, allocations: 59.2 kB / 0.8878 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.953e-06/0.009444, allocations: 4 kB / 0.8878 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.009461, allocations: 8.5 kB / 0.8878 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.009462, allocations: 4 kB / 0.8878 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of Templates: time 0.002212/0.01167, allocations: 164.7 kB / 0.888 GB, free: 11.4 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.446084330091253]