Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001273/0.001273, 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.00124/0.00124, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9317/0.9317, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.746/1.746, allocations: 377.8 MB / 0.6228 GB, free: 8.68 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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.982e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003462/0.003491, allocations: 2.365 MB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.004293, allocations: 0.5081 MB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.00439, allocations: 4 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.004746, allocations: 119.1 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.00485, allocations: 99.22 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.004952, allocations: 43.95 kB / 0.9853 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.005132, allocations: 250.5 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.005284, allocations: 79.45 kB / 0.9856 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.005412, allocations: 123.8 kB / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.005509, allocations: 75.73 kB / 0.9858 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.005544, allocations: 20 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.005568, allocations: 24 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.005648, allocations: 83.69 kB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.00573, allocations: 87.7 kB / 0.986 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.00599, allocations: 330.8 kB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005994, allocations: 0 / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005995, allocations: 0 / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.006, allocations: 0 / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005652/0.006565, allocations: 0.5778 MB / 0.9869 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.0066, allocations: 12.03 kB / 0.9869 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.00665, allocations: 44.66 kB / 0.9869 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.006893, allocations: 255.8 kB / 0.9872 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.006907, allocations: 12.12 kB / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.006935, allocations: 16.38 kB / 0.9872 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.007122, allocations: 131.8 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.007136, allocations: 4.188 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.007149, allocations: 4.375 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.007155, allocations: 4.375 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.0073, allocations: 99.89 kB / 0.9874 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.007836, allocations: 491.6 kB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.008023, allocations: 94.48 kB / 0.988 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.008084, allocations: 44.83 kB / 0.988 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.008094, allocations: 0 / 0.988 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.008111, allocations: 30.56 kB / 0.9881 GB, free: 11.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.008112, allocations: 4 kB / 0.9881 GB, free: 11.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002319/0.008344, allocations: 153.4 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.008372, allocations: 51.41 kB / 0.9883 GB, free: 11.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.008634, allocations: 393.9 kB / 0.9886 GB, free: 11.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.008647, allocations: 25.7 kB / 0.9887 GB, free: 11.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.008753, allocations: 220.2 kB / 0.9889 GB, free: 11.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.008772, allocations: 31.73 kB / 0.9889 GB, free: 11.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.008878, allocations: 33.66 kB / 0.9889 GB, free: 11.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.008963, allocations: 338.8 kB / 0.9892 GB, free: 10.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.009013, allocations: 39.92 kB / 0.9893 GB, free: 10.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.009071, allocations: 59.41 kB / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.009172, allocations: 87.31 kB / 0.9894 GB, free: 10.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009174, allocations: 0 / 0.9894 GB, free: 10.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000148/0.009322, allocations: 149.3 kB / 0.9896 GB, free: 10.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.009335, allocations: 12.55 kB / 0.9896 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009341, allocations: 0 / 0.9896 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.009353, allocations: 4 kB / 0.9896 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.009425, allocations: 27.92 kB / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.00943, allocations: 0 / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.00947, allocations: 11.94 kB / 0.9896 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.009477, allocations: 4 kB / 0.9896 GB, free: 10.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001069/0.009584, allocations: 165.8 kB / 0.9898 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.009613, allocations: 39.7 kB / 0.9898 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.009653, allocations: 39.27 kB / 0.9899 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009656, allocations: 8 kB / 0.9899 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.009661, allocations: 0 / 0.9899 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.009663, allocations: 0 / 0.9899 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.009839, allocations: 237.1 kB / 0.9901 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.00984, allocations: 0 / 0.9901 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.009911, allocations: 23.92 kB / 0.9901 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009914, allocations: 4 kB / 0.9901 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.009922, allocations: 4 kB / 0.9901 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.009923, allocations: 0 / 0.9901 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.009925, allocations: 4 kB / 0.9901 GB, free: 9.734 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.01015, allocations: 255.2 kB / 0.9904 GB, free: 9.469 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.01019, allocations: 35.7 kB / 0.9904 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.01021, allocations: 3.984 kB / 0.9904 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.01026, allocations: 8 kB / 0.9904 GB, free: 9.422 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.01029, allocations: 3.984 kB / 0.9904 GB, free: 9.418 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.0103, allocations: 4 kB / 0.9904 GB, free: 9.414 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001784/0.01048, allocations: 275.1 kB / 0.9907 GB, free: 9.148 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01048, allocations: 0 / 0.9907 GB, free: 9.148 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001747/0.01065, allocations: 47.88 kB / 0.9907 GB, free: 9.102 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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 9.034e-05/0.01074, allocations: 107.8 kB / 0.9908 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01088, allocations: 67.91 kB / 0.9909 GB, free: 8.918 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01088, allocations: 4.219 kB / 0.9909 GB, free: 8.914 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.01093, allocations: 39.86 kB / 0.9909 GB, free: 8.875 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.0112, allocations: 28.3 kB / 0.991 GB, free: 8.852 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.01195, allocations: 0.6592 MB / 0.9916 GB, free: 8.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.01207, allocations: 191 kB / 0.9918 GB, free: 7.953 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.0121, allocations: 16.5 kB / 0.9918 GB, free: 7.938 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.0121, allocations: 0 / 0.9918 GB, free: 7.938 MB / 0.948 GB Notification: Performance of Templates: time 0.003047/0.01515, allocations: 3.168 MB / 0.9949 GB, free: 4.793 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.945995580404997]