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.001922/0.001922, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002505/0.002505, allocations: 207.7 kB / 22.99 MB, free: 4.957 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.612/1.612, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.303/3.303, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] 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.002162/0.002162, allocations: 69.09 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3458, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001843/0.3476, allocations: 0.6012 MB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.156e-05/0.3476, allocations: 0 / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.3477, allocations: 4 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.3477, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.3477, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.055e-05/0.3478, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.3478, allocations: 8 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.3479, allocations: 0 / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.3479, allocations: 7.922 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.3479, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3479, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-06/0.348, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.348, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.348, allocations: 8 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.032e-05/0.3481, allocations: 7.922 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3481, allocations: 0 / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3481, allocations: 0 / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3481, allocations: 0 / 1.328 GB, free: 336 kB / 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.0003109/0.3484, allocations: 242.4 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3484, allocations: 12.03 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.3484, allocations: 0.9375 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3486, allocations: 106.5 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.3486, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3486, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.3487, allocations: 34.27 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3487, allocations: 192 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3487, allocations: 3.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3487, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.362e-05/0.3487, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.349, allocations: 343.1 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3491, allocations: 165.6 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.3492, allocations: 84.14 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.3492, allocations: 79.22 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.857e-05/0.3493, allocations: 109.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3493, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.58e-05/0.3494, allocations: 37.62 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.3495, allocations: 130.6 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3496, allocations: 97.84 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3496, allocations: 25.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3497, allocations: 80.14 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-06/0.3497, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.3497, allocations: 9.719 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3499, allocations: 318.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-06/0.3499, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.3499, allocations: 4.125 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.3499, allocations: 75.28 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-05/0.35, allocations: 75.28 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.424e-05/0.35, allocations: 37.58 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.3501, allocations: 79.28 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.396e-05/0.3501, allocations: 83.27 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.3502, allocations: 158.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-05/0.3503, allocations: 75.28 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.539e-05/0.3504, allocations: 150.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3505, allocations: 87.22 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.3505, allocations: 75.28 kB / 1.33 GB, free: 13.42 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.0001607/0.3507, allocations: 260.4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/0.3507, allocations: 116.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.3508, allocations: 107.9 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.3509, allocations: 180.3 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001108/0.351, allocations: 184.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/0.3512, allocations: 176.3 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.3514, allocations: 356.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.877e-05/0.3515, allocations: 101 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.3516, allocations: 109 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/0.3517, allocations: 188.1 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.3518, allocations: 184.2 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.953e-05/0.3518, allocations: 180.5 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.364e-05/0.3519, allocations: 180.3 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.3521, allocations: 307.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.3522, allocations: 108.9 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.3523, allocations: 184.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3524, allocations: 101 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3525, allocations: 184.2 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.3526, allocations: 105 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.231e-05/0.3527, allocations: 79.27 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3527, allocations: 4.094 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003207/0.353, allocations: 0 / 1.334 GB, free: 9.902 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.0001988/0.3532, allocations: 174.5 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.374e-05/0.3532, allocations: 3.938 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3532, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.3532, allocations: 7.938 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.3538, allocations: 455.1 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.3541, allocations: 162.9 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.3541, allocations: 59.34 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.275e-06/0.3541, allocations: 4 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.3542, allocations: 7.438 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of SimCode: time 7.82e-07/0.3542, allocations: 0 / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of Templates: time 0.002314/0.3565, allocations: 148.9 kB / 1.335 GB, free: 8.844 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 -s gbode -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: 8.975937303999672]