Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.001556/0.001556, allocations: 118 kB / 17.13 MB, free: 5.941 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.001701/0.001701, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.91 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001909/0.3094, allocations: 0.5841 MB / 1.215 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 3.743e-05/0.3094, allocations: 0 / 1.215 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3095, allocations: 0 / 1.215 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.3095, allocations: 0 / 1.215 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.3095, allocations: 3.938 kB / 1.215 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.553e-05/0.3096, allocations: 0 / 1.215 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.3096, allocations: 4 kB / 1.215 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.3097, allocations: 8 kB / 1.215 GB, free: 300 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.3097, allocations: 3.984 kB / 1.215 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.734e-05/0.3097, allocations: 0 / 1.215 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3097, allocations: 7.938 kB / 1.215 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.3098, allocations: 0 / 1.215 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.3098, allocations: 0 / 1.215 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.3098, allocations: 3.984 kB / 1.215 GB, free: 284 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 5.633e-05/0.3098, allocations: 0 / 1.215 GB, free: 284 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3098, allocations: 0 / 1.215 GB, free: 284 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3098, allocations: 0 / 1.215 GB, free: 284 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.3099, allocations: 0 / 1.215 GB, free: 284 kB / 0.9512 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.000412/0.3103, allocations: 327.5 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3103, allocations: 12.03 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.3103, allocations: 0.9375 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3105, allocations: 160.4 kB / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3105, allocations: 384 / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3105, allocations: 384 / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.772e-05/0.3106, allocations: 30.33 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3106, allocations: 4.125 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3106, allocations: 7.938 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3106, allocations: 0 / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.3107, allocations: 0 / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.311, allocations: 387.5 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.3111, allocations: 169.1 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.3112, allocations: 92.08 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.3112, allocations: 79.31 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.3113, allocations: 109.8 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3113, allocations: 0 / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.186e-05/0.3113, allocations: 25.7 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.3114, allocations: 126.7 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.3115, allocations: 97.86 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3115, allocations: 25.7 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.3116, allocations: 84.14 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3116, allocations: 0 / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.3116, allocations: 17.66 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3117, allocations: 314.8 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.3117, allocations: 3.938 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-06/0.3117, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.3118, allocations: 75.41 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.3118, allocations: 79.28 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.477e-05/0.3119, allocations: 37.64 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.3119, allocations: 79.28 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/0.312, allocations: 75.28 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.23e-05/0.312, allocations: 158.5 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.68e-05/0.3121, allocations: 83.27 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.552e-05/0.3122, allocations: 158.5 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.3122, allocations: 79.27 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3123, allocations: 79.28 kB / 1.218 GB, free: 13.12 MB / 0.9669 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.0001251/0.3124, allocations: 264.3 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.3124, allocations: 101.7 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.3125, allocations: 112.1 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/0.3126, allocations: 188.2 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.927e-05/0.3127, allocations: 176.3 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-05/0.3127, allocations: 184.2 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.313, allocations: 409.4 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/0.313, allocations: 101 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3131, allocations: 108.9 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-05/0.3132, allocations: 180.3 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.3132, allocations: 188.1 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-05/0.3133, allocations: 176.3 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.55e-05/0.3134, allocations: 180.2 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3135, allocations: 311.7 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.3136, allocations: 182 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.3137, allocations: 188.2 kB / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.3138, allocations: 101 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.3139, allocations: 180.2 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.3139, allocations: 105 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.314, allocations: 79.28 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.314, allocations: 0 / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002483/0.3142, allocations: 0 / 1.221 GB, free: 9.461 MB / 0.9669 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.0001973/0.3144, allocations: 178.5 kB / 1.221 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.38e-05/0.3145, allocations: 3.938 kB / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.3145, allocations: 4.094 kB / 1.221 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.3145, allocations: 4 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3149, allocations: 463.6 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.3153, allocations: 185.8 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3156, allocations: 0.6729 MB / 1.222 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.3157, allocations: 7.438 kB / 1.222 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3157, allocations: 4 kB / 1.222 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of Templates: time 0.00172/0.3174, allocations: 323.8 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.043450694996864]