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.001032/0.001032, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006587/0.006587, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.536/2.536, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005693/0.0005696, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8681, allocations: 142.4 MB / 0.9551 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0009981/0.8692, allocations: 322.2 kB / 0.9554 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 5.499e-05/0.8693, allocations: 5.125 kB / 0.9554 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.8693, allocations: 0 / 0.9554 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.8693, allocations: 0 / 0.9554 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.8694, allocations: 0 / 0.9554 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.987e-05/0.8694, allocations: 5.594 kB / 0.9554 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.8695, allocations: 1.062 kB / 0.9554 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.655e-05/0.8696, allocations: 5.031 kB / 0.9554 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.8696, allocations: 7.938 kB / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.8696, allocations: 1.344 kB / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.8696, allocations: 0 / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-06/0.8697, allocations: 0 / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.8697, allocations: 0 / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.8697, allocations: 27.17 kB / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.64e-05/0.8698, allocations: 3.984 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8698, allocations: 1.375 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8698, allocations: 4 kB / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8698, allocations: 0 / 0.9554 GB, free: 7.422 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.0003259/0.8702, allocations: 305.8 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.8702, allocations: 9.25 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.8703, allocations: 4.938 kB / 0.9557 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.8704, allocations: 169.3 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.8704, allocations: 13.33 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.8704, allocations: 384 / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.8705, allocations: 36.67 kB / 0.9559 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8705, allocations: 192 / 0.9559 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.8705, allocations: 3.938 kB / 0.9559 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.8705, allocations: 1.031 kB / 0.9559 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.8706, allocations: 0.9062 kB / 0.9559 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.8709, allocations: 382.7 kB / 0.9563 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.871, allocations: 178.7 kB / 0.9565 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.871, allocations: 80.14 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.871, allocations: 75.28 kB / 0.9566 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.8711, allocations: 106.9 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8711, allocations: 1.031 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.8711, allocations: 26.7 kB / 0.9568 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.8712, allocations: 138.6 kB / 0.9569 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.8713, allocations: 96.94 kB / 0.957 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.8713, allocations: 26.73 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.8713, allocations: 80.14 kB / 0.9571 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.8713, allocations: 0 / 0.9571 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.8713, allocations: 10.69 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.8714, allocations: 310.8 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-06/0.8714, allocations: 0.9375 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-06/0.8714, allocations: 8.125 kB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.811e-05/0.8715, allocations: 76.31 kB / 0.9575 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.8715, allocations: 75.28 kB / 0.9575 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.983e-05/0.8715, allocations: 32.36 kB / 0.9576 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.8716, allocations: 80.81 kB / 0.9577 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.8716, allocations: 87.14 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.8716, allocations: 151.9 kB / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.8716, allocations: 84.59 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/0.8717, allocations: 152 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.8718, allocations: 79.31 kB / 0.9582 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.8718, allocations: 84.53 kB / 0.9583 GB, free: 4.324 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 8.022e-05/0.8719, allocations: 261.4 kB / 0.9585 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.8719, allocations: 106 kB / 0.9586 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.8719, allocations: 116.9 kB / 0.9587 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.872, allocations: 182.7 kB / 0.9589 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.02e-05/0.872, allocations: 177.4 kB / 0.9591 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/0.8721, allocations: 185.2 kB / 0.9592 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.8722, allocations: 403.5 kB / 0.9596 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.8723, allocations: 110 kB / 0.9597 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.8723, allocations: 101 kB / 0.9598 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.187e-05/0.8723, allocations: 189.3 kB / 0.96 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.8724, allocations: 177.4 kB / 0.9602 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.202e-05/0.8724, allocations: 177.3 kB / 0.9604 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-05/0.8724, allocations: 181.3 kB / 0.9605 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.8725, allocations: 315.2 kB / 0.9608 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.8726, allocations: 183.2 kB / 0.961 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.8726, allocations: 178.9 kB / 0.9612 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.8727, allocations: 113 kB / 0.9613 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.8727, allocations: 185.4 kB / 0.9615 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.8728, allocations: 106 kB / 0.9616 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.765e-05/0.8728, allocations: 81.38 kB / 0.9616 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8728, allocations: 0 / 0.9616 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002448/0.8731, allocations: 1.062 kB / 0.9616 GB, free: 0.6719 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.0001504/0.8732, allocations: 174.2 kB / 0.9618 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.008e-05/0.8733, allocations: 5.219 kB / 0.9618 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8733, allocations: 0 / 0.9618 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.8733, allocations: 0 / 0.9618 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.8736, allocations: 0.5221 MB / 0.9623 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.874, allocations: 158.3 kB / 0.9625 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8743, allocations: 0.6741 MB / 0.9631 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.528e-06/0.8743, allocations: 3.938 kB / 0.9631 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.8743, allocations: 8.656 kB / 0.9631 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.8743, allocations: 0 / 0.9631 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.002166/0.8765, allocations: 160.8 kB / 0.9633 GB, free: 15 MB / 0.7325 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