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.00196/0.00196, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002608/0.002608, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.495/1.495, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.888/2.888, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.972e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001849/0.001879, allocations: 0.5957 MB / 0.8114 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.089e-05/0.001929, allocations: 0 / 0.8114 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.001961, allocations: 4 kB / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.001989, allocations: 1.25 kB / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.96e-05/0.002019, allocations: 0 / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-05/0.002056, allocations: 4 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.002118, allocations: 3.984 kB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.002162, allocations: 1.25 kB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.002194, allocations: 7.984 kB / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.599e-05/0.00222, allocations: 0 / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002236, allocations: 1.688 kB / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-06/0.00224, allocations: 0 / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.002254, allocations: 0 / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.002276, allocations: 0 / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.404e-05/0.00234, allocations: 7.938 kB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002342, allocations: 0.9062 kB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.01e-07/0.002343, allocations: 0 / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002347, allocations: 0.6875 kB / 0.8115 GB, free: 1.43 MB / 0.7605 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.0003667/0.002714, allocations: 242.4 kB / 0.8117 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.002755, allocations: 8.938 kB / 0.8117 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.00279, allocations: 4.875 kB / 0.8117 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.002935, allocations: 106.5 kB / 0.8118 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.002949, allocations: 384 / 0.8118 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.002957, allocations: 1.344 kB / 0.8118 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.878e-05/0.003056, allocations: 34.27 kB / 0.8119 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003064, allocations: 0.9375 kB / 0.8119 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003073, allocations: 384 / 0.8119 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.003077, allocations: 1.125 kB / 0.8119 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.003095, allocations: 3.938 kB / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.003489, allocations: 332.3 kB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.003628, allocations: 173.2 kB / 0.8123 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.003718, allocations: 80.14 kB / 0.8124 GB, free: 368 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.003786, allocations: 77.34 kB / 0.8125 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.643e-05/0.003862, allocations: 105.8 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.003863, allocations: 4 kB / 0.8126 GB, free: 172 kB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 9.97e-05/0.003963, allocations: 33.58 kB / 0.8126 GB, free: 132 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.004077, allocations: 126.7 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.004192, allocations: 94.75 kB / 0.8128 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.004213, allocations: 29.7 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.004277, allocations: 85.73 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.004279, allocations: 0 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.004308, allocations: 9.719 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.004503, allocations: 310.8 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.004509, allocations: 5.531 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-06/0.004512, allocations: 0 / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.004622, allocations: 75.28 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.271e-05/0.004665, allocations: 75.28 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.646e-05/0.004741, allocations: 39.27 kB / 0.8134 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.004797, allocations: 79.28 kB / 0.8135 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/0.00485, allocations: 83.2 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.00496, allocations: 154.6 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.005008, allocations: 83.22 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.714e-05/0.005095, allocations: 151.6 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.005188, allocations: 79.22 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.005236, allocations: 80.88 kB / 0.8141 GB, free: 14.55 MB / 0.7761 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.0001732/0.005409, allocations: 256.4 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.005495, allocations: 112.9 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.005577, allocations: 115.9 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001124/0.00569, allocations: 177 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/0.005801, allocations: 184.9 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/0.00591, allocations: 180.3 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.006331, allocations: 357.3 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.43e-05/0.006396, allocations: 105 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.006455, allocations: 101.7 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.006564, allocations: 185.2 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.006676, allocations: 184.2 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000107/0.006783, allocations: 184.1 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001027/0.006885, allocations: 180.8 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.007097, allocations: 305.1 kB / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.007165, allocations: 105 kB / 0.8167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.007286, allocations: 184.2 kB / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.007388, allocations: 108.9 kB / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.007494, allocations: 181.5 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.007567, allocations: 112.9 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.007623, allocations: 79.27 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007623, allocations: 0.5938 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002588/0.007882, allocations: 0.7812 kB / 0.8174 GB, free: 11.04 MB / 0.7761 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.0001672/0.008049, allocations: 171.4 kB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.725e-05/0.008086, allocations: 0 / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008088, allocations: 0.9062 kB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.008092, allocations: 3.938 kB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.00855, allocations: 461 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.008826, allocations: 159.1 kB / 0.8181 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.981e-05/0.008896, allocations: 63.14 kB / 0.8182 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.893e-06/0.008898, allocations: 0.6562 kB / 0.8182 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.008916, allocations: 8.5 kB / 0.8182 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.008916, allocations: 0.5312 kB / 0.8182 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.002135/0.01105, allocations: 171.5 kB / 0.8184 GB, free: 9.973 MB / 0.7761 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/jenkins/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: 7.782125008059666]