Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110 kB / 16.41 MB, free: 6.477 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.001395/0.001395, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 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.462/2.462, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8054, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001869/0.8073, allocations: 0.5478 MB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.188e-05/0.8074, allocations: 7.938 kB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.8074, allocations: 0 / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.8075, allocations: 0 / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.8076, allocations: 4 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.041e-05/0.8076, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.8077, allocations: 4 kB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.8077, allocations: 3.984 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.8077, allocations: 3.938 kB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.792e-05/0.8078, allocations: 0 / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.8078, allocations: 0 / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-06/0.8078, allocations: 4 kB / 1.168 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.8078, allocations: 3.984 kB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.8078, allocations: 4 kB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.957e-05/0.8079, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8079, allocations: 4 kB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8079, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8079, 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.0003172/0.8082, allocations: 315.5 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8083, allocations: 12.86 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.8083, allocations: 4.938 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.8084, allocations: 160.4 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.8085, allocations: 384 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.8085, allocations: 384 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.8086, allocations: 38.27 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.8086, allocations: 192 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.8086, allocations: 3.938 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8086, allocations: 0 / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.8086, allocations: 3.984 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.809, allocations: 383.5 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.809, allocations: 173.1 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.8091, allocations: 80.14 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.8091, allocations: 79.27 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.8092, allocations: 109.9 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8092, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.115e-05/0.8092, allocations: 29.64 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.8093, allocations: 134.7 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.8094, allocations: 93.86 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.8094, allocations: 25.7 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.8094, allocations: 80.14 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.8095, allocations: 3.938 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.8095, allocations: 13.72 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.8096, allocations: 318.8 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.8096, allocations: 4.125 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.8096, allocations: 0 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.8096, allocations: 75.28 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/0.8097, allocations: 75.28 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.926e-05/0.8097, allocations: 43.94 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.8098, allocations: 79.28 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.8098, allocations: 75.31 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.785e-05/0.8099, allocations: 162.6 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.88e-05/0.8099, allocations: 79.22 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.362e-05/0.8099, allocations: 154.5 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.81, allocations: 79.22 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.8101, allocations: 83.28 kB / 1.171 GB, free: 128 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.0001168/0.8102, allocations: 264.3 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.8102, allocations: 108.9 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.8103, allocations: 104.1 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/0.8103, allocations: 184.2 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-05/0.8104, allocations: 184.2 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.028e-05/0.8105, allocations: 176.3 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.8107, allocations: 413.1 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/0.8107, allocations: 105 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.8108, allocations: 101 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.927e-05/0.8108, allocations: 184.2 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.8109, allocations: 180.3 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-05/0.811, allocations: 184.2 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.271e-05/0.811, allocations: 184.3 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.8112, allocations: 308.1 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.8112, allocations: 182.1 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.8113, allocations: 184.2 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.8114, allocations: 109 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.8115, allocations: 176.3 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.8115, allocations: 108.9 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.8115, allocations: 79.28 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8115, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002504/0.8118, allocations: 0 / 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.0001404/0.8119, allocations: 182.6 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 3.827e-05/0.812, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.812, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.812, allocations: 0 / 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.0003488/0.8123, allocations: 469.8 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.8126, allocations: 185.9 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.8128, allocations: 0.6768 MB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.8129, allocations: 7.438 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8129, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.001676/0.8145, allocations: 323.8 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches