Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002709/0.002709, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.225/3.225, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.38e-05, allocations: 10.23 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001815/0.001848, allocations: 0.6012 MB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 5.793e-05/0.001906, allocations: 0 / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.001936, allocations: 0 / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.001961, allocations: 1.062 kB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.001988, allocations: 0.875 kB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.125e-05/0.002019, allocations: 0 / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.362e-05/0.002073, allocations: 1.906 kB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.002114, allocations: 11.92 kB / 0.8782 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.002147, allocations: 4 kB / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.296e-05/0.00217, allocations: 0.6562 kB / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.002185, allocations: 2.094 kB / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-06/0.002188, allocations: 0 / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.0022, allocations: 0 / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.002225, allocations: 4 kB / 0.8782 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.648e-05/0.002281, allocations: 1.688 kB / 0.8782 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002284, allocations: 1.375 kB / 0.8782 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002284, allocations: 0 / 0.8782 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002288, allocations: 0 / 0.8782 GB, free: 5.84 MB / 0.8386 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.0003482/0.002636, allocations: 238.4 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.002677, allocations: 8.812 kB / 0.8785 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.002717, allocations: 8.938 kB / 0.8785 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.002852, allocations: 103.9 kB / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.002864, allocations: 1.812 kB / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.002871, allocations: 384 / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.039e-05/0.002961, allocations: 30.27 kB / 0.8786 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.00297, allocations: 192 / 0.8786 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.002978, allocations: 1.031 kB / 0.8786 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.002983, allocations: 384 / 0.8786 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.003002, allocations: 8.938 kB / 0.8786 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.003369, allocations: 339.1 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.003491, allocations: 168.7 kB / 0.8791 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.003542, allocations: 80.14 kB / 0.8792 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.003593, allocations: 79.27 kB / 0.8793 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/0.00367, allocations: 113.8 kB / 0.8794 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.00367, allocations: 0 / 0.8794 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.003781, allocations: 34.52 kB / 0.8794 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.003873, allocations: 130.7 kB / 0.8795 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.003974, allocations: 93.86 kB / 0.8796 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.003994, allocations: 25.7 kB / 0.8796 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.004049, allocations: 80.92 kB / 0.8797 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.004051, allocations: 0 / 0.8797 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.004081, allocations: 10.31 kB / 0.8797 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.004259, allocations: 315 kB / 0.88 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-06/0.004264, allocations: 7.938 kB / 0.88 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.00427, allocations: 3.938 kB / 0.88 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.004316, allocations: 75.28 kB / 0.8801 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.24e-05/0.004358, allocations: 75.28 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.464e-05/0.004423, allocations: 37.69 kB / 0.8802 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.004478, allocations: 81.47 kB / 0.8803 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/0.004523, allocations: 79.22 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.004646, allocations: 162.5 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.004688, allocations: 76.03 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.545e-05/0.004773, allocations: 154.5 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.004855, allocations: 83.28 kB / 0.8808 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.004898, allocations: 75.28 kB / 0.8809 GB, free: 2.945 MB / 0.8386 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.0001714/0.00507, allocations: 268.3 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.005147, allocations: 105 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.516e-05/0.005222, allocations: 112 kB / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/0.005324, allocations: 184.4 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002348/0.005558, allocations: 176.3 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001188/0.005677, allocations: 188.2 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.005939, allocations: 352.9 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.619e-05/0.005995, allocations: 101 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.006052, allocations: 108.9 kB / 0.8824 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.006154, allocations: 184.2 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.00625, allocations: 180.2 kB / 0.8828 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.936e-05/0.00635, allocations: 184.2 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.645e-05/0.006446, allocations: 180.3 kB / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.006657, allocations: 303.8 kB / 0.8834 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.006722, allocations: 104.9 kB / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.006844, allocations: 184.3 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.006944, allocations: 108.9 kB / 0.8838 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.007051, allocations: 184.2 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.007109, allocations: 105 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.007162, allocations: 79.28 kB / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.007162, allocations: 0 / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002432/0.007405, allocations: 0 / 0.8841 GB, free: 15.44 MB / 0.8542 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.0001669/0.007572, allocations: 170.5 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.907e-05/0.007611, allocations: 3.938 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007613, allocations: 3.938 kB / 0.8843 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-06/0.007616, allocations: 4 kB / 0.8843 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.008048, allocations: 457.9 kB / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.008322, allocations: 163.1 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.00838, allocations: 55.22 kB / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.633e-06/0.008381, allocations: 0 / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.008401, allocations: 8.5 kB / 0.885 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.008402, allocations: 4 kB / 0.885 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.00212/0.01052, allocations: 168.8 kB / 0.8851 GB, free: 14.36 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.225437205983326]