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.1-maint.10.0.x/package.mo", uses=false) 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=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.00125/0.00125, allocations: 104.1 kB / 16.4 MB, free: 6.465 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.001256/0.001256, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8691, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001836/0.8709, allocations: 0.5826 MB / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.426e-05/0.871, allocations: 4 kB / 1.168 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.871, allocations: 4 kB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.8711, allocations: 3.938 kB / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.8711, allocations: 0 / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.012e-05/0.8712, allocations: 0 / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.8712, allocations: 7.922 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/0.8713, allocations: 8 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.8713, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.8714, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.8714, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-06/0.8714, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.8714, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.8714, allocations: 3.938 kB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.8715, allocations: 15.92 kB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8715, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8715, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.8715, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 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.000312/0.8718, allocations: 315.6 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.8719, allocations: 8.922 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.8719, allocations: 0.9375 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.8721, allocations: 160.4 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.8721, allocations: 384 / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.8721, allocations: 8.312 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/0.8722, allocations: 34.27 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.8722, allocations: 192 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8722, allocations: 11.92 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.8722, allocations: 0 / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.8722, allocations: 4 kB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.8726, allocations: 371.5 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.8727, allocations: 181 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.8727, allocations: 84.14 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.8728, allocations: 75.28 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.8728, allocations: 105.8 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.8728, allocations: 0 / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.197e-05/0.8729, allocations: 25.7 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.873, allocations: 134.6 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.8731, allocations: 97.86 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8731, allocations: 25.7 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.8731, allocations: 84.14 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.8731, allocations: 0 / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.8732, allocations: 13.7 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8733, allocations: 310.8 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.8733, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.8733, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.8733, allocations: 83.41 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/0.8734, allocations: 79.28 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.708e-05/0.8734, allocations: 39.98 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.8735, allocations: 83.28 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.8735, allocations: 79.25 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.02e-05/0.8736, allocations: 158.5 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-05/0.8736, allocations: 83.2 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.862e-05/0.8737, allocations: 154.6 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.8738, allocations: 79.28 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.8738, allocations: 79.22 kB / 1.171 GB, free: 132 kB / 0.8887 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.0001422/0.874, allocations: 268.3 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.874, allocations: 105 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.8741, allocations: 112 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.585e-05/0.8742, allocations: 180.3 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.155e-05/0.8742, allocations: 176.3 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-05/0.8743, allocations: 188.2 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.8746, allocations: 401.2 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/0.8746, allocations: 104.9 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.8747, allocations: 109 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.324e-05/0.8747, allocations: 176.3 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.8748, allocations: 184.2 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.37e-05/0.8749, allocations: 180.2 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-05/0.875, allocations: 188.2 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.8751, allocations: 308.1 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.8752, allocations: 186.1 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.8753, allocations: 176.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.8754, allocations: 112.9 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.8755, allocations: 180.3 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.8755, allocations: 108.9 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.8756, allocations: 83.27 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8756, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002564/0.8758, allocations: 4 kB / 1.174 GB, free: 12.45 MB / 0.9044 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.0001584/0.876, allocations: 170.5 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.035e-05/0.876, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8761, allocations: 4.094 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.8761, allocations: 4 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.8764, allocations: 455.6 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.8767, allocations: 189.9 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.877, allocations: 0.6768 MB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.877, allocations: 7.438 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of SimCode: time 1.954e-06/0.877, allocations: 4 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.001407/0.8784, allocations: 323.8 kB / 1.176 GB, free: 10.56 MB / 0.9044 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