Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001849/0.001849, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002504/0.002504, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.581/1.581, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 3.023/3.023, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.954e-05/4.191e-05, allocations: 9.234 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004992/0.005034, allocations: 2.579 MB / 0.984 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.007152, allocations: 1.01 MB / 0.985 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.007339, allocations: 8 kB / 0.985 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.008073, allocations: 198.5 kB / 0.9851 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.00829, allocations: 91.3 kB / 0.9852 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.008912, allocations: 191.5 kB / 0.9854 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.009435, allocations: 407.7 kB / 0.9858 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.00979, allocations: 154.2 kB / 0.986 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.0101, allocations: 227.5 kB / 0.9862 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.01031, allocations: 123.5 kB / 0.9863 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.01038, allocations: 40 kB / 0.9863 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.01074, allocations: 171.8 kB / 0.9865 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.01102, allocations: 259.2 kB / 0.9867 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.01125, allocations: 199.3 kB / 0.9869 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01241, allocations: 0.9536 MB / 0.9879 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01241, allocations: 0 / 0.9879 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/0.01242, allocations: 0 / 0.9879 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.01243, allocations: 0 / 0.9879 GB, free: 5.359 MB / 0.9356 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.001808/0.01424, allocations: 1.086 MB / 0.9889 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.01428, allocations: 8.031 kB / 0.9889 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.01574, allocations: 244 kB / 0.9892 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.0173, allocations: 0.6664 MB / 0.9898 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.01734, allocations: 25.03 kB / 0.9898 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.01739, allocations: 28.38 kB / 0.9899 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.01838, allocations: 412.2 kB / 0.9903 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01839, allocations: 4.188 kB / 0.9903 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.01843, allocations: 12.38 kB / 0.9903 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.01844, allocations: 8.125 kB / 0.9903 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.01952, allocations: 422.4 kB / 0.9907 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.02297, allocations: 1.405 MB / 0.9921 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.02371, allocations: 214.5 kB / 0.9923 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.02405, allocations: 92.81 kB / 0.9923 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.0241, allocations: 8 kB / 0.9924 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.02413, allocations: 30.56 kB / 0.9924 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.02413, allocations: 0 / 0.9924 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001295/0.02543, allocations: 374.9 kB / 0.9927 GB, free: 216 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.02549, allocations: 55.41 kB / 0.9928 GB, free: 148 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.02725, allocations: 1.218 MB / 0.994 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.0273, allocations: 33.64 kB / 0.994 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.02777, allocations: 432.3 kB / 0.9944 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.02785, allocations: 75.31 kB / 0.9945 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.02797, allocations: 49.7 kB / 0.9945 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.02814, allocations: 321.9 kB / 0.9949 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.02853, allocations: 147.9 kB / 0.995 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.02898, allocations: 227.5 kB / 0.9952 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.02973, allocations: 277 kB / 0.9955 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.02974, allocations: 7.938 kB / 0.9955 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00106/0.0308, allocations: 467.5 kB / 0.9959 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.03082, allocations: 8 kB / 0.9959 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.03084, allocations: 0 / 0.9959 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.03086, allocations: 4 kB / 0.9959 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.03123, allocations: 51.97 kB / 0.996 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.03124, allocations: 3.938 kB / 0.996 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.03156, allocations: 39.75 kB / 0.996 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.03159, allocations: 16 kB / 0.996 GB, free: 12.71 MB / 0.9512 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.0003756/0.03196, allocations: 265.7 kB / 0.9963 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.03209, allocations: 91.42 kB / 0.9964 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.03303, allocations: 320 kB / 0.9967 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.03304, allocations: 0 / 0.9967 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.03304, allocations: 0 / 0.9967 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.03305, allocations: 7.922 kB / 0.9967 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.03506, allocations: 0.8606 MB / 0.9975 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.03506, allocations: 192 / 0.9975 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.03534, allocations: 43.97 kB / 0.9976 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.03535, allocations: 7.938 kB / 0.9976 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.03538, allocations: 7.984 kB / 0.9976 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.03539, allocations: 3.938 kB / 0.9976 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.03539, allocations: 4 kB / 0.9976 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009371/0.03633, allocations: 428.1 kB / 0.998 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.03659, allocations: 131.2 kB / 0.9981 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.03667, allocations: 11.94 kB / 0.9982 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.03698, allocations: 23.98 kB / 0.9982 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.03706, allocations: 19.91 kB / 0.9982 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.03708, allocations: 11.94 kB / 0.9982 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001281/0.03836, allocations: 0.8825 MB / 0.9991 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03836, allocations: 0 / 0.9991 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005277/0.03888, allocations: 107.8 kB / 0.9992 GB, free: 9.395 MB / 0.9512 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.0003192/0.0392, allocations: 119.1 kB / 0.9993 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008615/0.04007, allocations: 271.7 kB / 0.9995 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.04007, allocations: 320 / 0.9995 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.04043, allocations: 107.8 kB / 0.9996 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.04099, allocations: 67.31 kB / 0.9997 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.04369, allocations: 1.369 MB / 1.001 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.0442, allocations: 399.6 kB / 1.001 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003149/0.04451, allocations: 96.53 kB / 1.002 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.04466, allocations: 44.48 kB / 1.002 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/0.04466, allocations: 0 / 1.002 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of Templates: time 0.01489/0.05955, allocations: 5.504 MB / 1.007 GB, free: 1.387 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.173928007483482]