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.001691/0.001691, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001717/0.001717, allocations: 163 kB / 22.46 MB, free: 5.375 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.936/2.936, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 3.387e-06/3.387e-06, allocations: 0 / 1 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.809e-05, allocations: 5.234 kB / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001686/0.001724, allocations: 0.5538 MB / 1.001 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 4.726e-05/0.001772, allocations: 4 kB / 1.001 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.001808, allocations: 0 / 1.001 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.001838, allocations: 3.938 kB / 1.001 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.001867, allocations: 0 / 1.001 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 2.767e-05/0.001894, allocations: 0 / 1.001 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.001959, allocations: 11.98 kB / 1.001 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.002022, allocations: 4 kB / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.002057, allocations: 0 / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.32e-05/0.00208, allocations: 0 / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.002096, allocations: 0 / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.0021, allocations: 0 / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.002113, allocations: 0 / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.002136, allocations: 4 kB / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 6.132e-05/0.002197, allocations: 7.938 kB / 1.001 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002199, allocations: 0 / 1.001 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.81e-07/0.0022, allocations: 0 / 1.001 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.002204, allocations: 0 / 1.001 GB, free: 5.613 MB / 0.9044 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.0003425/0.002546, allocations: 246.4 kB / 1.001 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.002588, allocations: 8.031 kB / 1.001 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.002615, allocations: 0.9375 kB / 1.001 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.002739, allocations: 105.8 kB / 1.001 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.002753, allocations: 384 / 1.001 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.002766, allocations: 384 / 1.001 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.002867, allocations: 34.2 kB / 1.001 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.002877, allocations: 192 / 1.001 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.002884, allocations: 384 / 1.001 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.00289, allocations: 4.359 kB / 1.001 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.002911, allocations: 11.94 kB / 1.001 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.003254, allocations: 323.2 kB / 1.001 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.003367, allocations: 173.1 kB / 1.002 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.003423, allocations: 84.14 kB / 1.002 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.003465, allocations: 75.28 kB / 1.002 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/0.003537, allocations: 109.8 kB / 1.002 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.003538, allocations: 4 kB / 1.002 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.463e-05/0.003623, allocations: 33.62 kB / 1.002 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.003707, allocations: 126.7 kB / 1.002 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.003816, allocations: 93.86 kB / 1.002 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.003833, allocations: 33.64 kB / 1.002 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.003882, allocations: 84.08 kB / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.003884, allocations: 0 / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.00391, allocations: 13.72 kB / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.004079, allocations: 310.8 kB / 1.002 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.004086, allocations: 4 kB / 1.003 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-06/0.004088, allocations: 0 / 1.003 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.004126, allocations: 75.28 kB / 1.003 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/0.004164, allocations: 79.28 kB / 1.003 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.894e-05/0.004223, allocations: 37.62 kB / 1.003 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.00428, allocations: 85.75 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/0.004322, allocations: 83.16 kB / 1.003 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.201e-05/0.004414, allocations: 154.6 kB / 1.003 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.004449, allocations: 75.28 kB / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-05/0.00453, allocations: 158.5 kB / 1.003 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.004606, allocations: 75.28 kB / 1.003 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.004646, allocations: 87.2 kB / 1.003 GB, free: 2.699 MB / 0.9044 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.0001483/0.004795, allocations: 257.1 kB / 1.004 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.004879, allocations: 109 kB / 1.004 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.004942, allocations: 111.9 kB / 1.004 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.549e-05/0.005037, allocations: 184.3 kB / 1.004 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/0.005138, allocations: 184.2 kB / 1.004 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-05/0.005231, allocations: 180.5 kB / 1.004 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.005473, allocations: 348.9 kB / 1.005 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.44e-05/0.005538, allocations: 113 kB / 1.005 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.005589, allocations: 105 kB / 1.005 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.871e-05/0.005687, allocations: 176.3 kB / 1.005 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.584e-05/0.005783, allocations: 184.2 kB / 1.005 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.671e-05/0.00587, allocations: 180.2 kB / 1.005 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.476e-05/0.005965, allocations: 184.2 kB / 1.006 GB, free: 312 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.006182, allocations: 303.8 kB / 1.006 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.006245, allocations: 112.9 kB / 1.006 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.006357, allocations: 184.3 kB / 1.006 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.006451, allocations: 108.9 kB / 1.006 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.006555, allocations: 180.2 kB / 1.006 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.006618, allocations: 109 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.006661, allocations: 75.28 kB / 1.007 GB, free: 15.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.006661, allocations: 0 / 1.007 GB, free: 15.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002641/0.006925, allocations: 3.938 kB / 1.007 GB, free: 15.19 MB / 0.92 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.0001696/0.007095, allocations: 178.6 kB / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 4.136e-05/0.007136, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.007138, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.00714, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.0076, allocations: 459.6 kB / 1.007 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.007843, allocations: 164.1 kB / 1.007 GB, free: 14.37 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.946e-05/0.007902, allocations: 59.3 kB / 1.007 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.683e-06/0.007904, allocations: 0 / 1.007 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.00792, allocations: 8.5 kB / 1.007 GB, free: 14.28 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/0.00792, allocations: 3.938 kB / 1.007 GB, free: 14.27 MB / 0.92 GB Notification: Performance of Templates: time 0.002243/0.01016, allocations: 160.8 kB / 1.008 GB, free: 14.12 MB / 0.92 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=800 -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/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.271698236465454]