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.00136/0.00136, allocations: 109.7 kB / 16.41 MB, free: 6.461 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.001449/0.001449, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.536/1.536, allocations: 222.9 MB / 241 MB, free: 15.13 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.668/2.668, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 72.12 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9032, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002048/0.9053, allocations: 0.5903 MB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.647e-05/0.9053, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.9054, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.9054, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.9055, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.715e-05/0.9055, allocations: 4 kB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.9056, allocations: 4 kB / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.9057, allocations: 7.938 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.9057, allocations: 0 / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.9057, allocations: 3.938 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.9057, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.9057, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.9058, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.9058, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.052e-05/0.9059, allocations: 11.98 kB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9059, allocations: 0 / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9059, allocations: 3.938 kB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9059, allocations: 4 kB / 1.168 GB, free: 3.195 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.000412/0.9063, allocations: 311.5 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9064, allocations: 8.922 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.9064, allocations: 0.9375 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.9066, allocations: 164.4 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9066, allocations: 4.375 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.9066, allocations: 384 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.9067, allocations: 26.27 kB / 1.168 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9067, allocations: 4.188 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.9067, allocations: 7.938 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9067, allocations: 0 / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.9068, allocations: 7.938 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.9071, allocations: 379.5 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.9073, allocations: 169.1 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.9073, allocations: 84.14 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.9074, allocations: 75.28 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.284e-05/0.9074, allocations: 109.8 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.9075, allocations: 0 / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.078e-05/0.9075, allocations: 29.7 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.9076, allocations: 130.7 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9077, allocations: 105.8 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.9078, allocations: 25.7 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.9078, allocations: 84.12 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.9078, allocations: 0 / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.9079, allocations: 9.719 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.908, allocations: 310.8 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.908, allocations: 4 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.908, allocations: 128 / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.9081, allocations: 79.28 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/0.9081, allocations: 79.22 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.586e-05/0.9082, allocations: 40.08 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.9082, allocations: 83.28 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/0.9083, allocations: 75.31 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.621e-05/0.9084, allocations: 158.5 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.9084, allocations: 75.28 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.962e-05/0.9085, allocations: 166.4 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.9086, allocations: 75.28 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.9087, allocations: 75.28 kB / 1.171 GB, free: 68 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.0001735/0.9088, allocations: 272.3 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.9089, allocations: 104.9 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.909, allocations: 108.1 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.204e-05/0.9091, allocations: 184.2 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.85e-05/0.9092, allocations: 180.3 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-05/0.9093, allocations: 184.2 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.9096, allocations: 401.1 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.844e-05/0.9096, allocations: 109 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.9097, allocations: 108.9 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.9098, allocations: 176.3 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.9099, allocations: 180.3 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001448/0.91, allocations: 188.2 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001456/0.9102, allocations: 180.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.9104, allocations: 316.1 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.9105, allocations: 178.1 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.9106, allocations: 180.2 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9107, allocations: 113 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.9108, allocations: 184.2 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.9108, allocations: 101 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.9109, allocations: 83.28 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9109, allocations: 0 / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002871/0.9112, allocations: 0 / 1.174 GB, free: 12.38 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.0001805/0.9114, allocations: 170.5 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.685e-05/0.9114, allocations: 12.03 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9114, allocations: 3.938 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.9114, allocations: 0 / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.9119, allocations: 461.8 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.9122, allocations: 158.5 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.9126, allocations: 0.6729 MB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.124e-06/0.9126, allocations: 4 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.9126, allocations: 7.438 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.254e-06/0.9126, allocations: 0 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002519/0.9151, allocations: 172.7 kB / 1.176 GB, free: 10.68 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 -s cvode -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