Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001408/0.001408, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.557/1.557, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 0.8121 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8656, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002364/0.8681, allocations: 0.64 MB / 0.9498 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 5.994e-05/0.8682, allocations: 7.938 kB / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.8682, allocations: 1.312 kB / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.8682, allocations: 0 / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.8683, allocations: 0 / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.97e-05/0.8684, allocations: 0 / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.701e-05/0.8684, allocations: 2.188 kB / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.085e-05/0.8685, allocations: 5.078 kB / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.8685, allocations: 5.594 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.001e-05/0.8686, allocations: 0 / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.8686, allocations: 4 kB / 0.9498 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-06/0.8686, allocations: 0 / 0.9498 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.8686, allocations: 1.5 kB / 0.9498 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.8686, allocations: 4 kB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.074e-05/0.8687, allocations: 9.094 kB / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8687, allocations: 0 / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8687, allocations: 0 / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8687, allocations: 5.625 kB / 0.9498 GB, free: 8.629 MB / 0.7169 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.0002674/0.869, allocations: 306.5 kB / 0.9501 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.8691, allocations: 8.969 kB / 0.9501 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.8691, allocations: 4.938 kB / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.8692, allocations: 174 kB / 0.9503 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8693, allocations: 8.312 kB / 0.9503 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.8693, allocations: 384 / 0.9503 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/0.8694, allocations: 31.98 kB / 0.9503 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8694, allocations: 1.531 kB / 0.9503 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.8694, allocations: 3.938 kB / 0.9503 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.8694, allocations: 0 / 0.9503 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.8694, allocations: 1.594 kB / 0.9503 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.8697, allocations: 383.5 kB / 0.9507 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.8698, allocations: 173 kB / 0.9508 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.8698, allocations: 81.36 kB / 0.9509 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.8698, allocations: 75.28 kB / 0.951 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.8699, allocations: 111.5 kB / 0.9511 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.8699, allocations: 0 / 0.9511 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.8699, allocations: 26.89 kB / 0.9511 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.87, allocations: 138.6 kB / 0.9513 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.8701, allocations: 93.02 kB / 0.9514 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.8701, allocations: 25.7 kB / 0.9514 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.52e-05/0.8701, allocations: 81.55 kB / 0.9515 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.8701, allocations: 4.125 kB / 0.9515 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.8701, allocations: 11.19 kB / 0.9515 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.8702, allocations: 316.4 kB / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.8702, allocations: 0 / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.8702, allocations: 0 / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.374e-05/0.8702, allocations: 75.28 kB / 0.9518 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.8702, allocations: 77.03 kB / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.866e-05/0.8703, allocations: 35 kB / 0.9519 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8703, allocations: 84.34 kB / 0.952 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.8703, allocations: 80.38 kB / 0.9521 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.8704, allocations: 152 kB / 0.9523 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.271e-05/0.8704, allocations: 79.22 kB / 0.9523 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.8704, allocations: 152 kB / 0.9525 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.8705, allocations: 80.53 kB / 0.9525 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.8705, allocations: 87.22 kB / 0.9526 GB, free: 5.539 MB / 0.7169 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 6.241e-05/0.8706, allocations: 266.8 kB / 0.9529 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.8706, allocations: 102.3 kB / 0.953 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.8707, allocations: 115.8 kB / 0.9531 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.8707, allocations: 178.9 kB / 0.9533 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/0.8707, allocations: 189.8 kB / 0.9534 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.8707, allocations: 185.8 kB / 0.9536 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.8709, allocations: 398.5 kB / 0.954 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.8709, allocations: 104.9 kB / 0.9541 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.8709, allocations: 106.3 kB / 0.9542 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.743e-05/0.871, allocations: 185.6 kB / 0.9544 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.871, allocations: 181.6 kB / 0.9546 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-05/0.871, allocations: 176.3 kB / 0.9547 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-05/0.8711, allocations: 181.9 kB / 0.9549 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.78e-05/0.8712, allocations: 315 kB / 0.9552 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.8712, allocations: 183.4 kB / 0.9554 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.8712, allocations: 181.9 kB / 0.9555 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.8713, allocations: 114.5 kB / 0.9557 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.8713, allocations: 176.3 kB / 0.9558 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.8714, allocations: 110.2 kB / 0.9559 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.292e-05/0.8714, allocations: 77.97 kB / 0.956 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8714, allocations: 4.094 kB / 0.956 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002623/0.8717, allocations: 0 / 0.956 GB, free: 1.883 MB / 0.7169 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.0001332/0.8718, allocations: 173.7 kB / 0.9562 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.658e-05/0.8719, allocations: 5.359 kB / 0.9562 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8719, allocations: 0 / 0.9562 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.8719, allocations: 0 / 0.9562 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.8722, allocations: 462.4 kB / 0.9566 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.8724, allocations: 156.3 kB / 0.9568 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.8725, allocations: 0.6741 MB / 0.9574 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.366e-06/0.8726, allocations: 0 / 0.9574 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.8726, allocations: 8.812 kB / 0.9574 GB, free: 392 kB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.8726, allocations: 0 / 0.9574 GB, free: 392 kB / 0.7169 GB Notification: Performance of Templates: time 0.00189/0.8745, allocations: 169.5 kB / 0.9576 GB, free: 292 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches