Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 186.8 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.866/2.866, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.023, allocations: 160.8 MB / 1.218 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002894/1.025, allocations: 0.5513 MB / 1.219 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 5.936e-05/1.025, allocations: 4 kB / 1.219 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/1.026, allocations: 0 / 1.219 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/1.026, allocations: 0 / 1.219 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.103e-05/1.026, allocations: 0 / 1.219 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.877e-05/1.026, allocations: 0 / 1.219 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.657e-05/1.026, allocations: 7.938 kB / 1.219 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/1.026, allocations: 8 kB / 1.219 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/1.026, allocations: 3.984 kB / 1.219 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/1.026, allocations: 0 / 1.219 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/1.026, allocations: 0 / 1.219 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-06/1.026, allocations: 0 / 1.219 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/1.026, allocations: 0 / 1.219 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/1.026, allocations: 0 / 1.219 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.629e-05/1.026, allocations: 11.92 kB / 1.219 GB, free: 3.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.026, allocations: 3.938 kB / 1.219 GB, free: 3.789 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/1.026, allocations: 0 / 1.219 GB, free: 3.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.026, allocations: 0 / 1.219 GB, free: 3.789 MB / 0.92 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.0004655/1.026, allocations: 327.2 kB / 1.219 GB, free: 3.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.027, allocations: 8.031 kB / 1.219 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/1.027, allocations: 4.938 kB / 1.219 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/1.027, allocations: 164.3 kB / 1.22 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.027, allocations: 384 / 1.22 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.027, allocations: 4.375 kB / 1.22 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/1.027, allocations: 26.27 kB / 1.22 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.027, allocations: 192 / 1.22 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.027, allocations: 3.938 kB / 1.22 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.027, allocations: 4 kB / 1.22 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/1.027, allocations: 4 kB / 1.22 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/1.027, allocations: 379.5 kB / 1.22 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/1.028, allocations: 177.1 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/1.028, allocations: 80.14 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/1.028, allocations: 79.28 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.382e-05/1.028, allocations: 109.8 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.028, allocations: 0 / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.978e-05/1.028, allocations: 33.64 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.028, allocations: 126.7 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/1.028, allocations: 97.86 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.028, allocations: 29.7 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/1.028, allocations: 80.14 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/1.028, allocations: 0 / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/1.028, allocations: 9.719 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.028, allocations: 314.8 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/1.028, allocations: 0 / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/1.028, allocations: 0 / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.375e-05/1.028, allocations: 79.28 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.744e-05/1.029, allocations: 79.41 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.453e-05/1.029, allocations: 33.58 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/1.029, allocations: 83.28 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-05/1.029, allocations: 79.31 kB / 1.221 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/1.029, allocations: 158.5 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/1.029, allocations: 79.22 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.744e-05/1.029, allocations: 154.6 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/1.029, allocations: 87.2 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/1.029, allocations: 75.28 kB / 1.222 GB, free: 0.6484 MB / 0.92 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.0002077/1.029, allocations: 268.3 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/1.029, allocations: 112.9 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/1.029, allocations: 104.1 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001441/1.03, allocations: 184.2 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001107/1.03, allocations: 180.2 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/1.03, allocations: 180.3 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/1.03, allocations: 409.1 kB / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-05/1.03, allocations: 101 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/1.03, allocations: 108.9 kB / 1.223 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/1.03, allocations: 184.2 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/1.031, allocations: 176.3 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001214/1.031, allocations: 184.2 kB / 1.224 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000114/1.031, allocations: 192.2 kB / 1.224 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/1.031, allocations: 308.1 kB / 1.224 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/1.031, allocations: 186.1 kB / 1.225 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.031, allocations: 184.2 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.031, allocations: 105 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/1.031, allocations: 184.2 kB / 1.225 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/1.032, allocations: 105 kB / 1.225 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.871e-05/1.032, allocations: 75.28 kB / 1.225 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/1.032, allocations: 4 kB / 1.225 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002991/1.032, allocations: 0 / 1.225 GB, free: 12.97 MB / 0.9356 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.0001839/1.032, allocations: 174.5 kB / 1.225 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.108e-05/1.032, allocations: 4 kB / 1.225 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.032, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/1.032, allocations: 8.031 kB / 1.225 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/1.033, allocations: 460.5 kB / 1.226 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/1.033, allocations: 160.2 kB / 1.226 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/1.033, allocations: 0.6729 MB / 1.227 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.807e-06/1.033, allocations: 0 / 1.227 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/1.033, allocations: 7.438 kB / 1.227 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of SimCode: time 1.372e-06/1.033, allocations: 7.938 kB / 1.227 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.002795/1.036, allocations: 164.9 kB / 1.227 GB, free: 11.27 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.354431816376746]