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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008197/0.0008197, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000949/0.000949, allocations: 173 kB / 16.92 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 15.98 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.665, allocations: 153.8 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0007572/0.6658, allocations: 317.2 kB / 1.024 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 4.023e-05/0.6658, allocations: 4 kB / 1.024 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.6659, allocations: 3.938 kB / 1.024 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.6659, allocations: 3.938 kB / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.933e-05/0.6659, allocations: 4 kB / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.765e-05/0.666, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.666, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.6661, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.6661, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.6661, allocations: 8 kB / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.6662, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.6662, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.6662, allocations: 3.984 kB / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.6662, allocations: 25.7 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.206e-05/0.6663, allocations: 3.984 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.6663, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6663, allocations: 3.938 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.6663, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 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.0002822/0.6666, allocations: 311.6 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6666, allocations: 12.03 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.6667, allocations: 8.844 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6668, allocations: 168.4 kB / 1.025 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.6668, allocations: 384 / 1.025 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.6668, allocations: 384 / 1.025 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.6669, allocations: 30.2 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.6669, allocations: 192 / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.667, allocations: 3.938 kB / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.667, allocations: 4 kB / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.667, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.6673, allocations: 383.5 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.6674, allocations: 173.1 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.6674, allocations: 84.08 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.6675, allocations: 75.28 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.6675, allocations: 109.8 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.6675, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.124e-05/0.6676, allocations: 29.7 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.6677, allocations: 126.7 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.6677, allocations: 101.8 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.6678, allocations: 25.7 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.6678, allocations: 84.27 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.6678, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.6678, allocations: 13.66 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.6679, allocations: 310.8 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.6679, allocations: 3.938 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.6679, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.668, allocations: 79.28 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.668, allocations: 75.28 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.075e-05/0.6681, allocations: 29.64 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.6681, allocations: 92.98 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.6682, allocations: 79.22 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.669e-05/0.6682, allocations: 154.6 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.044e-05/0.6682, allocations: 75.28 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.43e-05/0.6683, allocations: 158.4 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.6684, allocations: 83.31 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.6684, allocations: 83.22 kB / 1.027 GB, free: 12.47 MB / 0.7794 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.0001069/0.6685, allocations: 260.3 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.6686, allocations: 113 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.6686, allocations: 104.1 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/0.6687, allocations: 184.2 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/0.6687, allocations: 180.3 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.6688, allocations: 184.2 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.669, allocations: 405.2 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/0.6691, allocations: 101 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.6691, allocations: 108.9 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-05/0.6692, allocations: 180.2 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.6692, allocations: 184.2 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.387e-05/0.6693, allocations: 176.3 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.1e-05/0.6694, allocations: 184.3 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.6695, allocations: 308.1 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.6696, allocations: 190 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.6696, allocations: 180.3 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.6697, allocations: 105 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.6698, allocations: 188.2 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.6698, allocations: 105 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.6699, allocations: 79.28 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6699, allocations: 0 / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002411/0.6701, allocations: 4 kB / 1.03 GB, free: 8.797 MB / 0.7794 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.0001419/0.6703, allocations: 174.5 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.355e-05/0.6703, allocations: 7.938 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6703, allocations: 0 / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.6703, allocations: 4 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.6707, allocations: 0.5225 MB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.6709, allocations: 191.5 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.6712, allocations: 0.6731 MB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.6712, allocations: 7.438 kB / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6712, allocations: 0 / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of Templates: time 0.001458/0.6727, allocations: 315.8 kB / 1.032 GB, free: 6.84 MB / 0.7794 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