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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006668/0.006668, allocations: 101.8 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 192.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7106 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.91 kB / 0.8692 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.6686, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002036/0.6707, allocations: 0.6525 MB / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.647e-05/0.6707, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.6707, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.6708, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.6708, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.249e-05/0.6709, allocations: 3.984 kB / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.506e-05/0.6709, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.671, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.259e-05/0.671, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.533e-05/0.671, allocations: 4 kB / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.671, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.671, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.6711, allocations: 4 kB / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.6711, allocations: 7.938 kB / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.139e-05/0.6711, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6711, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6711, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6712, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.7637 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.000292/0.6714, allocations: 315.5 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6715, allocations: 15.97 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.6715, allocations: 0.9375 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6717, allocations: 164.4 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.6717, allocations: 4.375 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.6717, allocations: 384 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.6718, allocations: 30.27 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6718, allocations: 192 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.6718, allocations: 7.922 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6718, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.414e-05/0.6719, allocations: 4 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.6722, allocations: 379.5 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.6723, allocations: 173.1 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.6723, allocations: 80.14 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.6724, allocations: 79.28 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.6724, allocations: 105.8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6725, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.479e-05/0.6725, allocations: 29.64 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.6726, allocations: 134.6 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.6727, allocations: 93.86 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.6727, allocations: 25.83 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.6728, allocations: 84.14 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.6728, allocations: 0 / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.6728, allocations: 13.7 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6729, allocations: 318.8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/0.6729, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.6729, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.673, allocations: 79.22 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.84e-05/0.673, allocations: 75.28 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.974e-05/0.6731, allocations: 41.58 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.6732, allocations: 79.28 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/0.6732, allocations: 75.28 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.485e-05/0.6733, allocations: 150.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.6734, allocations: 87.2 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-05/0.6734, allocations: 154.6 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.6735, allocations: 83.22 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.6736, allocations: 79.28 kB / 1.021 GB, free: 14.95 MB / 0.7794 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.0001782/0.6737, allocations: 264.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.6738, allocations: 101 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.6739, allocations: 112 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/0.6739, allocations: 180.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/0.674, allocations: 188.2 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.583e-05/0.6741, allocations: 176.3 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.6743, allocations: 405.1 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/0.6743, allocations: 105 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.6744, allocations: 101 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.673e-05/0.6744, allocations: 188.2 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.6745, allocations: 176.3 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-05/0.6745, allocations: 188.2 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.543e-05/0.6746, allocations: 176.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.6747, allocations: 316.1 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.6748, allocations: 182.1 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.6749, allocations: 184.2 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.675, allocations: 113 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.6751, allocations: 176.3 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.6751, allocations: 108.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.6751, allocations: 87.27 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6752, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002703/0.6754, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 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.000234/0.6757, allocations: 178.5 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.546e-05/0.6757, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6757, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.6757, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.6761, allocations: 0.5378 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.6763, allocations: 180.9 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.6766, allocations: 0.6731 MB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.6767, allocations: 7.438 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.6767, allocations: 0 / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.001448/0.6781, allocations: 323.3 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches