Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002041/0.002042, allocations: 193 kB / 16.13 MB, free: 6.652 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.52 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3367, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001757/0.3385, allocations: 0.647 MB / 1.053 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.18e-05/0.3385, allocations: 0 / 1.053 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.3385, allocations: 4 kB / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3386, allocations: 0 / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.377e-05/0.3386, allocations: 0 / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.064e-05/0.3386, allocations: 0 / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.3387, allocations: 4 kB / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3387, allocations: 0 / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.146e-05/0.3388, allocations: 4 kB / 1.053 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.584e-05/0.3388, allocations: 3.984 kB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3388, allocations: 0 / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.3388, allocations: 4 kB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.3388, allocations: 0 / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.3388, allocations: 3.938 kB / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.258e-05/0.3389, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3389, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.72e-07/0.3389, allocations: 4 kB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.3389, allocations: 0 / 1.053 GB, free: 8.156 MB / 0.8106 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.0002757/0.3392, allocations: 315.5 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3392, allocations: 16.03 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.3393, allocations: 0.9375 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3394, allocations: 168.3 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.3394, allocations: 384 / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.3394, allocations: 384 / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.3395, allocations: 30.27 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3395, allocations: 192 / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3395, allocations: 3.938 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3395, allocations: 0 / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.272e-05/0.3395, allocations: 0 / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.3399, allocations: 387.5 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.34, allocations: 173.1 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.34, allocations: 84.14 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.34, allocations: 75.28 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3401, allocations: 113.8 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3401, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.259e-05/0.3401, allocations: 29.67 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3402, allocations: 130.7 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.3403, allocations: 97.8 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3403, allocations: 25.7 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.3403, allocations: 88.12 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.3403, allocations: 4 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.3404, allocations: 13.84 kB / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.3405, allocations: 314.8 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.3405, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.3405, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.3405, allocations: 75.28 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-05/0.3405, allocations: 75.28 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.127e-05/0.3406, allocations: 37.58 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3407, allocations: 79.28 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/0.3407, allocations: 83.28 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.314e-05/0.3408, allocations: 150.6 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.738e-05/0.3408, allocations: 87.22 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-05/0.3408, allocations: 150.6 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.3409, allocations: 87.2 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.341, allocations: 75.28 kB / 1.056 GB, free: 5.012 MB / 0.8106 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.0001009/0.3411, allocations: 264.3 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.3411, allocations: 105 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.3412, allocations: 116 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/0.3412, allocations: 180.2 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/0.3413, allocations: 180.2 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-05/0.3414, allocations: 180.5 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3416, allocations: 413.1 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.3416, allocations: 105 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.3417, allocations: 109 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/0.3418, allocations: 184.2 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.3418, allocations: 180.3 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-05/0.3419, allocations: 176.3 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.599e-05/0.3419, allocations: 184.2 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3421, allocations: 307.7 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.3421, allocations: 182.1 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.3422, allocations: 192.2 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.3423, allocations: 101 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.3424, allocations: 176.3 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.3424, allocations: 112.9 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.3425, allocations: 75.28 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3425, allocations: 0 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002476/0.3427, allocations: 4.094 kB / 1.059 GB, free: 1.34 MB / 0.8106 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.0001504/0.3429, allocations: 178.5 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.272e-05/0.3429, allocations: 0 / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3429, allocations: 0 / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.3429, allocations: 4 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3433, allocations: 0.5301 MB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.3435, allocations: 153.2 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3438, allocations: 0.6731 MB / 1.06 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.414e-06/0.3438, allocations: 0 / 1.06 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.3438, allocations: 11.44 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3438, allocations: 0 / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.001646/0.3455, allocations: 168.8 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches