Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001943/0.001943, allocations: 85.48 kB / 19.44 MB, free: 344 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.002019/0.002019, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.445 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.598/3.598, allocations: 429.5 MB / 0.6729 GB, free: 3.984 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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.719e-05, allocations: 5.266 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.006971/0.007008, allocations: 2.656 MB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.009851, allocations: 1.055 MB / 0.8811 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.01008, allocations: 5 kB / 0.8811 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.01103, allocations: 200.8 kB / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.01137, allocations: 95.16 kB / 0.8814 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.01217, allocations: 183.6 kB / 0.8816 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.01292, allocations: 415.6 kB / 0.882 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.01341, allocations: 150.3 kB / 0.8821 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.01387, allocations: 231.4 kB / 0.8823 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.01416, allocations: 123.5 kB / 0.8824 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.01427, allocations: 40 kB / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.01484, allocations: 163.8 kB / 0.8826 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.01524, allocations: 259.2 kB / 0.8829 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.0156, allocations: 191.3 kB / 0.8831 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.01775, allocations: 0.9613 MB / 0.884 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.01776, allocations: 0 / 0.884 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.823e-06/0.01776, allocations: 4 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.01778, allocations: 0 / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003004/0.02078, allocations: 1.248 MB / 0.8852 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.02084, allocations: 8.031 kB / 0.8852 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.02256, allocations: 240.1 kB / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.02432, allocations: 0.5444 MB / 0.886 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.02436, allocations: 25.02 kB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.02444, allocations: 36.38 kB / 0.8861 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.02548, allocations: 332.3 kB / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.0255, allocations: 192 / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.02555, allocations: 12.38 kB / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.02557, allocations: 12.12 kB / 0.8864 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.02663, allocations: 274.4 kB / 0.8867 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/0.03142, allocations: 1.504 MB / 0.8881 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.03227, allocations: 207.1 kB / 0.8883 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.03262, allocations: 80.17 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.03268, allocations: 11.94 kB / 0.8884 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.03273, allocations: 41.38 kB / 0.8884 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.053e-05/0.03274, allocations: 0 / 0.8884 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.001396/0.03414, allocations: 339.1 kB / 0.8888 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.0342, allocations: 55.41 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.03646, allocations: 1.079 MB / 0.8899 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.03652, allocations: 37.7 kB / 0.8899 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/0.03733, allocations: 0.5303 MB / 0.8904 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.03745, allocations: 83.31 kB / 0.8905 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.03762, allocations: 59.36 kB / 0.8906 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006403/0.03826, allocations: 0.4925 MB / 0.891 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.03863, allocations: 79.97 kB / 0.8911 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.03915, allocations: 197 kB / 0.8913 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.03993, allocations: 222 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.03994, allocations: 4 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00115/0.04109, allocations: 346.9 kB / 0.8919 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.04111, allocations: 8 kB / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.04112, allocations: 0 / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.04115, allocations: 4 kB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.04158, allocations: 51.91 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.04159, allocations: 3.984 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.04195, allocations: 27.83 kB / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.04199, allocations: 16 kB / 0.892 GB, free: 7.484 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003485/0.04234, allocations: 200.5 kB / 0.8922 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.04255, allocations: 91.42 kB / 0.8922 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.04362, allocations: 287.2 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.04363, allocations: 4 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.04364, allocations: 4 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.04364, allocations: 3.938 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.04638, allocations: 1.06 MB / 0.8936 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.04639, allocations: 7.938 kB / 0.8936 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.04673, allocations: 35.92 kB / 0.8936 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.04675, allocations: 11.92 kB / 0.8936 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.04678, allocations: 8 kB / 0.8936 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.04679, allocations: 4 kB / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.04679, allocations: 0 / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.04795, allocations: 485.5 kB / 0.8941 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.04837, allocations: 127.3 kB / 0.8942 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.04849, allocations: 11.98 kB / 0.8942 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.04885, allocations: 12 kB / 0.8942 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.04894, allocations: 15.91 kB / 0.8943 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.04898, allocations: 16 kB / 0.8943 GB, free: 5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001423/0.0504, allocations: 0.6599 MB / 0.8949 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.11e-07/0.0504, allocations: 0 / 0.8949 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007409/0.05114, allocations: 103.7 kB / 0.895 GB, free: 4.227 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0003218/0.05146, allocations: 111.2 kB / 0.8951 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008859/0.05235, allocations: 223.9 kB / 0.8953 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.05235, allocations: 0 / 0.8953 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.05274, allocations: 105.6 kB / 0.8954 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.05352, allocations: 75.94 kB / 0.8955 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.05683, allocations: 1.268 MB / 0.8967 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.05753, allocations: 388.7 kB / 0.8971 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004453/0.05798, allocations: 84.53 kB / 0.8972 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.05818, allocations: 44.5 kB / 0.8972 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of SimCode: time 1.793e-06/0.05818, allocations: 0 / 0.8972 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.02171/0.07989, allocations: 5.527 MB / 0.9026 GB, free: 12.35 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 9.199011455988511]