Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001947/0.001947, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002612/0.002612, allocations: 218.5 kB / 22.99 MB, free: 4.945 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 71.77 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3739, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003922/0.3778, allocations: 2.169 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3794, allocations: 0.8777 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3795, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.3801, allocations: 178.9 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3802, allocations: 71.44 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.3806, allocations: 119.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.3809, allocations: 223.1 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3811, allocations: 61.97 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3813, allocations: 91.47 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3814, allocations: 87.44 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.3814, allocations: 16 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.3817, allocations: 147.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.382, allocations: 215.3 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.3822, allocations: 190.5 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00085/0.383, allocations: 0.7309 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.383, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.383, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.383, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001421/0.3844, allocations: 0.9187 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3845, allocations: 15.97 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/0.385, allocations: 124.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.3859, allocations: 0.5377 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3859, allocations: 12.38 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.3859, allocations: 12.38 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3864, allocations: 202.1 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3864, allocations: 4.188 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3864, allocations: 7.938 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3864, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.3869, allocations: 231.8 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3882, allocations: 0.7771 MB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.3889, allocations: 306.5 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3891, allocations: 104.9 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/0.3899, allocations: 167.9 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3899, allocations: 34.5 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3899, allocations: 0 / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008972/0.3908, allocations: 413 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3908, allocations: 51.41 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3921, allocations: 0.9974 MB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3921, allocations: 25.7 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.3925, allocations: 344.1 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3925, allocations: 39.67 kB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.3926, allocations: 25.7 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3928, allocations: 310 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.393, allocations: 99.95 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.3932, allocations: 126.4 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.3937, allocations: 218.8 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3937, allocations: 0 / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005954/0.3943, allocations: 328.9 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3943, allocations: 8 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3943, allocations: 4 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3943, allocations: 4 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3945, allocations: 23.97 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3945, allocations: 7.984 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3947, allocations: 8 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3947, allocations: 7.984 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002918/0.395, allocations: 246.2 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3951, allocations: 83.42 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.3957, allocations: 332.4 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3957, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3957, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3957, allocations: 4 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.3963, allocations: 425 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3963, allocations: 0 / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3964, allocations: 23.97 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3964, allocations: 4 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3965, allocations: 7.922 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3965, allocations: 4 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3965, allocations: 0 / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.3971, allocations: 406.9 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.3973, allocations: 103.5 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.3974, allocations: 11.94 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3976, allocations: 8.266 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3976, allocations: 3.984 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3976, allocations: 4 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009578/0.3986, allocations: 0.7253 MB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3986, allocations: 3.938 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000366/0.3989, allocations: 63.94 kB / 1.34 GB, free: 3.539 MB / 1.029 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 (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 0.0002048/0.3991, allocations: 107.2 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.3997, allocations: 223.8 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3997, allocations: 0 / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3999, allocations: 103.9 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.4003, allocations: 51.44 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.4023, allocations: 1.241 MB / 1.342 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4027, allocations: 346.4 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4028, allocations: 35.44 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4028, allocations: 0 / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of Templates: time 0.01248/0.4153, allocations: 7.498 MB / 1.349 GB, free: 9.891 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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: 11.945721131749451]