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.001338/0.001338, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001478/0.001478, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.098 MB / 206.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 3.104/3.104, allocations: 0.49 GB / 0.7958 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.002113/0.002113, allocations: 63.25 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001713/0.3403, allocations: 0.587 MB / 1.328 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.868e-05/0.3404, allocations: 7.938 kB / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.3404, allocations: 0 / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.3404, allocations: 0 / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.18e-05/0.3404, allocations: 0 / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.151e-05/0.3405, allocations: 4 kB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.3405, allocations: 3.984 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.3406, allocations: 4 kB / 1.328 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.3406, allocations: 0 / 1.328 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.612e-05/0.3406, allocations: 4 kB / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3406, allocations: 0 / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.3406, allocations: 0 / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.3406, allocations: 0 / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3406, allocations: 3.938 kB / 1.328 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.966e-05/0.3407, allocations: 11.98 kB / 1.328 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3407, allocations: 0 / 1.328 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3407, allocations: 0 / 1.328 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3407, allocations: 0 / 1.328 GB, free: 0.8945 MB / 1.014 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.0003283/0.341, allocations: 238.4 kB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3411, allocations: 12.03 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.3411, allocations: 0.9375 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3412, allocations: 106.5 kB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3412, allocations: 4.359 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3412, allocations: 384 / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3414, allocations: 30.27 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3414, allocations: 4.188 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3414, allocations: 3.938 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3414, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.355e-05/0.3414, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.3418, allocations: 362.5 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3419, allocations: 173.5 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.3419, allocations: 84.08 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.342, allocations: 75.28 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.342, allocations: 113.9 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.342, allocations: 0 / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.03e-05/0.3421, allocations: 33.64 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.3422, allocations: 130.7 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.3423, allocations: 97.84 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3423, allocations: 25.7 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.3424, allocations: 88.2 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.3424, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.3424, allocations: 13.72 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3425, allocations: 314.8 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.3425, allocations: 0 / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.3425, allocations: 0 / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.3426, allocations: 75.28 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/0.3426, allocations: 75.28 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.823e-05/0.3427, allocations: 41.58 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.3427, allocations: 79.28 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.3427, allocations: 75.28 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.307e-05/0.3428, allocations: 158.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.442e-05/0.3428, allocations: 79.22 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.023e-05/0.3429, allocations: 150.6 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.343, allocations: 79.22 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.343, allocations: 87.28 kB / 1.33 GB, free: 13.95 MB / 1.029 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.0001299/0.3431, allocations: 260.3 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.3432, allocations: 104.9 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.3433, allocations: 108.1 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.3433, allocations: 180.3 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.038e-05/0.3434, allocations: 188.2 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.16e-05/0.3435, allocations: 180.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3438, allocations: 380.2 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.976e-05/0.3438, allocations: 105 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.3439, allocations: 105 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.34e-05/0.3439, allocations: 188.2 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.344, allocations: 180.2 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-05/0.3441, allocations: 180.5 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.129e-05/0.3442, allocations: 176.3 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3443, allocations: 311.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.3444, allocations: 113 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.3445, allocations: 180.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.3446, allocations: 101 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.3447, allocations: 180.3 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.3447, allocations: 112.9 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.3448, allocations: 83.27 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3448, allocations: 3.938 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002378/0.345, allocations: 0 / 1.334 GB, free: 10.39 MB / 1.029 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.0001534/0.3451, allocations: 174.5 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.081e-05/0.3452, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3452, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3452, allocations: 4 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.3456, allocations: 467.7 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.3459, allocations: 178 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3462, allocations: 0.6729 MB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.3462, allocations: 7.438 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3462, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of Templates: time 0.001597/0.3478, allocations: 327.9 kB / 1.335 GB, free: 8.508 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 10.780912308982806]