Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.00182/0.00182, allocations: 79.44 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.002267/0.002267, allocations: 165.5 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.575/1.575, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.087/3.087, allocations: 377.8 MB / 0.6221 GB, free: 12.58 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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.406e-05/4.6e-05, allocations: 13.31 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004726/0.004772, allocations: 2.377 MB / 0.9838 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.007957, allocations: 1.567 MB / 0.9853 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.008149, allocations: 7.938 kB / 0.9853 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.008927, allocations: 218.8 kB / 0.9855 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.009537, allocations: 210.9 kB / 0.9857 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.009969, allocations: 159.4 kB / 0.9859 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000612/0.01058, allocations: 370.7 kB / 0.9862 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.01081, allocations: 60.89 kB / 0.9863 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.01113, allocations: 195.5 kB / 0.9865 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.01138, allocations: 131.6 kB / 0.9866 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.01144, allocations: 24 kB / 0.9866 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.01162, allocations: 67.91 kB / 0.9867 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.01178, allocations: 131.5 kB / 0.9868 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01193, allocations: 99.58 kB / 0.9869 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.01265, allocations: 0.5021 MB / 0.9874 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01265, allocations: 0 / 0.9874 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01265, allocations: 0 / 0.9874 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.01266, allocations: 3.938 kB / 0.9874 GB, free: 5.816 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00159/0.01425, allocations: 0.7445 MB / 0.9881 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.01429, allocations: 12.03 kB / 0.9881 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.01444, allocations: 60.5 kB / 0.9882 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.0151, allocations: 374.7 kB / 0.9885 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.01513, allocations: 12.38 kB / 0.9886 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.01517, allocations: 12.38 kB / 0.9886 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.01556, allocations: 201.2 kB / 0.9888 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01557, allocations: 0 / 0.9888 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.01559, allocations: 4 kB / 0.9888 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.0156, allocations: 8 kB / 0.9888 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.01582, allocations: 83.95 kB / 0.9888 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.0169, allocations: 0.5311 MB / 0.9894 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.01728, allocations: 126.7 kB / 0.9895 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.01739, allocations: 44.84 kB / 0.9895 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.01742, allocations: 3.984 kB / 0.9895 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.01771, allocations: 158.7 kB / 0.9897 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.01772, allocations: 0 / 0.9897 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005622/0.01828, allocations: 221.1 kB / 0.9899 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.01834, allocations: 51.41 kB / 0.9899 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.01924, allocations: 0.6681 MB / 0.9906 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.01928, allocations: 33.7 kB / 0.9906 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.01955, allocations: 260.4 kB / 0.9909 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.01961, allocations: 35.69 kB / 0.9909 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.01972, allocations: 61.69 kB / 0.991 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.01995, allocations: 374.8 kB / 0.9913 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.02013, allocations: 79.97 kB / 0.9914 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.02038, allocations: 166.8 kB / 0.9916 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.02064, allocations: 132.2 kB / 0.9917 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02064, allocations: 0 / 0.9917 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004823/0.02113, allocations: 278.3 kB / 0.992 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.02115, allocations: 7.938 kB / 0.992 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.02117, allocations: 12.06 kB / 0.992 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.02119, allocations: 0 / 0.992 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.02139, allocations: 31.98 kB / 0.992 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.0214, allocations: 0 / 0.992 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.02159, allocations: 27.92 kB / 0.992 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.02162, allocations: 8 kB / 0.992 GB, free: 0.8203 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002465/0.02187, allocations: 210.2 kB / 0.9922 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.02194, allocations: 59.56 kB / 0.9923 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.02234, allocations: 192 kB / 0.9925 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.02235, allocations: 0 / 0.9925 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.02235, allocations: 7.875 kB / 0.9925 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.02236, allocations: 4 kB / 0.9925 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.0227, allocations: 285.1 kB / 0.9928 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0227, allocations: 0 / 0.9928 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.02278, allocations: 15.98 kB / 0.9928 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.02278, allocations: 0 / 0.9928 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.0228, allocations: 7.938 kB / 0.9928 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.02281, allocations: 0 / 0.9928 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02281, allocations: 0 / 0.9928 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.02335, allocations: 271.2 kB / 0.993 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.02345, allocations: 59.58 kB / 0.9931 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.02351, allocations: 11.94 kB / 0.9931 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.02364, allocations: 11.98 kB / 0.9931 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.02373, allocations: 19.97 kB / 0.9931 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.02374, allocations: 7.984 kB / 0.9931 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005979/0.02434, allocations: 443 kB / 0.9936 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.02434, allocations: 0 / 0.9936 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003365/0.02468, allocations: 67.83 kB / 0.9936 GB, free: 15.13 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001841/0.02652, allocations: 464 kB / 0.9941 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.02694, allocations: 143.9 kB / 0.9942 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.02695, allocations: 4 kB / 0.9942 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.02709, allocations: 51.92 kB / 0.9943 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.02757, allocations: 74 kB / 0.9943 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.02917, allocations: 0.8223 MB / 0.9951 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.02948, allocations: 254.5 kB / 0.9954 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.02963, allocations: 46.94 kB / 0.9954 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.02973, allocations: 36.48 kB / 0.9955 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/0.02973, allocations: 0 / 0.9955 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.01163/0.04136, allocations: 4.202 MB / 0.9996 GB, free: 9.254 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.342707253992558]