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.00151/0.001511, allocations: 107.3 kB / 16.41 MB, free: 6.512 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.001582/0.001582, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9753/0.9769, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001637/0.9786, allocations: 0.5791 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.917e-05/0.9786, allocations: 5.125 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.9787, allocations: 0 / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.9787, allocations: 0 / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.9787, allocations: 0 / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.566e-05/0.9788, allocations: 1.797 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.9788, allocations: 8.688 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.9789, allocations: 2.922 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.9789, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.805e-05/0.9789, allocations: 5.703 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.9789, allocations: 7.938 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-06/0.9789, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.979, allocations: 1.031 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.979, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.51e-05/0.979, allocations: 6.375 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.979, allocations: 0.8438 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9791, allocations: 0.6094 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9791, allocations: 0 / 1.089 GB, free: 5.113 MB / 0.8575 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.0002038/0.9793, allocations: 309.7 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.9793, allocations: 12.06 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.9793, allocations: 6.688 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.605e-05/0.9794, allocations: 162.5 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.9794, allocations: 384 / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.9794, allocations: 384 / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.9795, allocations: 34.08 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.9795, allocations: 192 / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.9795, allocations: 3.938 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9795, allocations: 0.8438 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.382e-05/0.9796, allocations: 9.25 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.9798, allocations: 387 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.9798, allocations: 170.1 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.9798, allocations: 80.7 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.9799, allocations: 80.47 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.9799, allocations: 110.5 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9799, allocations: 0 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.298e-05/0.98, allocations: 28.09 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.98, allocations: 51.41 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.98, allocations: 98.62 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.9801, allocations: 25.7 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.784e-05/0.9801, allocations: 81.86 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.9801, allocations: 4.125 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.9801, allocations: 11.09 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.9802, allocations: 313.9 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.9802, allocations: 0 / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.9802, allocations: 0 / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.598e-05/0.9802, allocations: 80.41 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.9802, allocations: 79.28 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.82e-05/0.9803, allocations: 33.09 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.9803, allocations: 84.97 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.9803, allocations: 76.38 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.9804, allocations: 160.2 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.9804, allocations: 76.41 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.9804, allocations: 156.2 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.9805, allocations: 75.94 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.9805, allocations: 81.28 kB / 1.092 GB, free: 2.121 MB / 0.8575 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.368e-05/0.9806, allocations: 263.1 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.9807, allocations: 110.8 kB / 1.092 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.9807, allocations: 106.1 kB / 1.092 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.03e-05/0.9808, allocations: 182.1 kB / 1.093 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.9808, allocations: 101.7 kB / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.9809, allocations: 192.6 kB / 1.093 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.981, allocations: 190.2 kB / 1.093 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.9811, allocations: 102.5 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.9811, allocations: 182.6 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.073e-05/0.9812, allocations: 257.1 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001392/0.9814, allocations: 387.9 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.414e-05/0.9814, allocations: 107.8 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.9814, allocations: 78.11 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Backend: time 1.7e-07/0.9815, allocations: 1.125 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.9818, allocations: 92.31 kB / 1.094 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0004356/0.9822, allocations: 0.8934 MB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.001957/0.9842, allocations: 185 kB / 1.095 GB, free: 14.74 MB / 0.8731 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