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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01122/0.01122, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.002756/0.002756, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6765, allocations: 140.3 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002563/0.6791, allocations: 0.6525 MB / 0.9502 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.317e-05/0.6792, allocations: 3.938 kB / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.6793, allocations: 4 kB / 0.9502 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.6793, allocations: 1.031 kB / 0.9502 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.508e-05/0.6794, allocations: 3.938 kB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.073e-05/0.6794, allocations: 4 kB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.6795, allocations: 2.312 kB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.6796, allocations: 5.078 kB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.6796, allocations: 0 / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.6796, allocations: 1 kB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.6797, allocations: 0 / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-06/0.6797, allocations: 0 / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.6797, allocations: 5.219 kB / 0.9503 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.6797, allocations: 0 / 0.9503 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.077e-05/0.6798, allocations: 1.188 kB / 0.9503 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6798, allocations: 3.938 kB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6798, allocations: 0.9375 kB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.6798, allocations: 0 / 0.9503 GB, free: 8.617 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.0002899/0.6801, allocations: 315.1 kB / 0.9506 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6802, allocations: 9.219 kB / 0.9506 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.6803, allocations: 4.875 kB / 0.9506 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6804, allocations: 165.3 kB / 0.9507 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.6804, allocations: 4.375 kB / 0.9508 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.6804, allocations: 1.469 kB / 0.9508 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.6805, allocations: 28.58 kB / 0.9508 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6806, allocations: 192 / 0.9508 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6806, allocations: 7.875 kB / 0.9508 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6806, allocations: 0 / 0.9508 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.6806, allocations: 2.719 kB / 0.9508 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.6809, allocations: 382.2 kB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.681, allocations: 174.1 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.681, allocations: 84.08 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.6811, allocations: 80.33 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.6811, allocations: 106.9 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.6811, allocations: 4 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.083e-05/0.6812, allocations: 26.8 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6813, allocations: 126.7 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.6814, allocations: 97.27 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.6814, allocations: 26.8 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/0.6814, allocations: 80.14 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.6814, allocations: 0 / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.6815, allocations: 16.03 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.6815, allocations: 314.8 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.6815, allocations: 0 / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-06/0.6816, allocations: 5.094 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.306e-05/0.6816, allocations: 75.28 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.6816, allocations: 76.34 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.219e-05/0.6817, allocations: 31.86 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.6817, allocations: 79.81 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.6818, allocations: 80.34 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/0.6818, allocations: 159.8 kB / 0.9527 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-05/0.6818, allocations: 80.25 kB / 0.9528 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/0.6819, allocations: 159.6 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.682, allocations: 80.44 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.682, allocations: 76.47 kB / 0.9531 GB, free: 5.531 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 7.193e-05/0.6821, allocations: 269.4 kB / 0.9534 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.6822, allocations: 106.1 kB / 0.9535 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.6822, allocations: 109.1 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.6823, allocations: 186.8 kB / 0.9537 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/0.6823, allocations: 177.7 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/0.6823, allocations: 184.2 kB / 0.9541 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.6825, allocations: 407.7 kB / 0.9545 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.6826, allocations: 104.9 kB / 0.9546 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.6826, allocations: 106.2 kB / 0.9547 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-05/0.6827, allocations: 177.4 kB / 0.9548 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.6827, allocations: 185.3 kB / 0.955 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.209e-05/0.6828, allocations: 185.6 kB / 0.9552 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.062e-05/0.6828, allocations: 181.6 kB / 0.9554 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.6829, allocations: 306.7 kB / 0.9557 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.683, allocations: 187.4 kB / 0.9558 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.683, allocations: 185.5 kB / 0.956 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.6831, allocations: 106.4 kB / 0.9561 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.6832, allocations: 181.5 kB / 0.9563 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6832, allocations: 101 kB / 0.9564 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.6833, allocations: 77.62 kB / 0.9565 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6833, allocations: 0 / 0.9565 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000456/0.6837, allocations: 1.469 kB / 0.9565 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.0001321/0.6839, allocations: 182.4 kB / 0.9566 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.689e-05/0.684, allocations: 9 kB / 0.9567 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.684, allocations: 0 / 0.9567 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.684, allocations: 1.094 kB / 0.9567 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.6844, allocations: 0.5245 MB / 0.9572 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.6847, allocations: 180 kB / 0.9573 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.6848, allocations: 0.678 MB / 0.958 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.6848, allocations: 8.5 kB / 0.958 GB, free: 268 kB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.6849, allocations: 0 / 0.958 GB, free: 268 kB / 0.7169 GB Notification: Performance of Templates: time 0.002108/0.687, allocations: 320 kB / 0.9583 GB, free: 112 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/jenkins1/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