Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.0008367/0.0008367, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008412/0.0008412, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8917/0.8917, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.728/1.728, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.38e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001307/0.001341, allocations: 0.5557 MB / 0.9827 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.087e-05/0.001382, allocations: 0 / 0.9827 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.001408, allocations: 4 kB / 0.9827 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.001435, allocations: 4 kB / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.001463, allocations: 0 / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-05/0.001493, allocations: 0 / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.001547, allocations: 0 / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.001597, allocations: 8 kB / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.001626, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.001645, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.001665, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-06/0.001668, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.001682, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.001699, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 6.339e-05/0.001763, allocations: 11.92 kB / 0.9828 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.001765, allocations: 7.938 kB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.413e-06/0.001766, allocations: 0 / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00177, allocations: 0 / 0.9828 GB, free: 1.473 MB / 0.9323 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.0002466/0.002017, allocations: 242.4 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.002055, allocations: 8.031 kB / 0.983 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.002082, allocations: 4.875 kB / 0.983 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.002162, allocations: 113.8 kB / 0.9831 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.002172, allocations: 384 / 0.9831 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.002178, allocations: 384 / 0.9831 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.002254, allocations: 30.27 kB / 0.9832 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.002261, allocations: 4.188 kB / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.00227, allocations: 384 / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.002275, allocations: 384 / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.002293, allocations: 3.938 kB / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.002535, allocations: 335.1 kB / 0.9835 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.002601, allocations: 169.2 kB / 0.9836 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.002625, allocations: 80.14 kB / 0.9837 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.002649, allocations: 79.27 kB / 0.9838 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.002683, allocations: 109.8 kB / 0.9839 GB, free: 204 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.002684, allocations: 0 / 0.9839 GB, free: 204 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 5.722e-05/0.002741, allocations: 41.58 kB / 0.9839 GB, free: 156 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.002787, allocations: 126.7 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.002867, allocations: 89.86 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.002874, allocations: 25.7 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.002908, allocations: 84.14 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.00291, allocations: 0 / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.002929, allocations: 13.7 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.003005, allocations: 310.8 kB / 0.9846 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.003011, allocations: 4 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.003014, allocations: 4 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.982e-05/0.003034, allocations: 79.41 kB / 0.9846 GB, free: 15.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.003051, allocations: 75.28 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.617e-05/0.003087, allocations: 29.64 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.003115, allocations: 83.28 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.003139, allocations: 83.16 kB / 0.9849 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/0.003184, allocations: 154.5 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.777e-05/0.003202, allocations: 83.27 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.223e-05/0.003234, allocations: 150.6 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.003277, allocations: 79.22 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.003296, allocations: 83.28 kB / 0.9854 GB, free: 14.57 MB / 0.948 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.903e-05/0.003375, allocations: 260.4 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.003411, allocations: 105 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.003451, allocations: 119.9 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/0.00349, allocations: 176.5 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-05/0.003535, allocations: 180.2 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.214e-05/0.003577, allocations: 188.3 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.0037, allocations: 356.8 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.003724, allocations: 104.9 kB / 0.9869 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.003746, allocations: 101 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.125e-05/0.003787, allocations: 180.2 kB / 0.9871 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.003838, allocations: 188.3 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.981e-05/0.003878, allocations: 188.1 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-05/0.003919, allocations: 180.2 kB / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.59e-05/0.004015, allocations: 303.8 kB / 0.9879 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.004047, allocations: 105 kB / 0.988 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.004099, allocations: 188.2 kB / 0.9882 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.004144, allocations: 108.9 kB / 0.9883 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.004193, allocations: 180.2 kB / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.004218, allocations: 101 kB / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.004248, allocations: 79.28 kB / 0.9887 GB, free: 11.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004248, allocations: 0 / 0.9887 GB, free: 11.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001493/0.004397, allocations: 4.094 kB / 0.9887 GB, free: 11.06 MB / 0.948 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.0001024/0.004499, allocations: 175 kB / 0.9888 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.024e-05/0.00454, allocations: 4 kB / 0.9888 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.004541, allocations: 0 / 0.9888 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.004543, allocations: 3.938 kB / 0.9888 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.004797, allocations: 460.3 kB / 0.9893 GB, free: 10.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.005015, allocations: 181.8 kB / 0.9895 GB, free: 10.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.005054, allocations: 51.36 kB / 0.9895 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.005066, allocations: 16.48 kB / 0.9895 GB, free: 10.12 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.005067, allocations: 3.938 kB / 0.9895 GB, free: 10.12 MB / 0.948 GB Notification: Performance of Templates: time 0.001128/0.006195, allocations: 323.9 kB / 0.9898 GB, free: 9.805 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 6.424034035764635]