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.0008461/0.0008461, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009828/0.0009828, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.116e-05, allocations: 2.281 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004112/0.004133, allocations: 2.373 MB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.006367, allocations: 1.573 MB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.006565, allocations: 4 kB / 0.9848 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.007115, allocations: 218.8 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.007538, allocations: 206.8 kB / 0.9852 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.007848, allocations: 155.5 kB / 0.9854 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.00822, allocations: 374.6 kB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.008404, allocations: 56.89 kB / 0.9858 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.008608, allocations: 191.5 kB / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.008767, allocations: 135.6 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.008798, allocations: 20 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.008928, allocations: 75.84 kB / 0.9862 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.009036, allocations: 131.5 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.00912, allocations: 99.58 kB / 0.9864 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.009602, allocations: 0.4905 MB / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.009606, allocations: 0 / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.009607, allocations: 3.938 kB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.009614, allocations: 0 / 0.9869 GB, free: 12.45 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009836/0.0106, allocations: 0.7523 MB / 0.9876 GB, free: 11.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.01064, allocations: 12.03 kB / 0.9877 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.01068, allocations: 42.73 kB / 0.9877 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.01076, allocations: 68.52 kB / 0.9878 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.01117, allocations: 374.6 kB / 0.9881 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.01118, allocations: 12.38 kB / 0.9881 GB, free: 11.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.01121, allocations: 12.38 kB / 0.9881 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.01144, allocations: 190.3 kB / 0.9883 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.01145, allocations: 4 kB / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.01146, allocations: 11.98 kB / 0.9883 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.01147, allocations: 0 / 0.9883 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.0116, allocations: 91.89 kB / 0.9884 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.01231, allocations: 0.5541 MB / 0.989 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.01254, allocations: 134.7 kB / 0.9891 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.0126, allocations: 48.78 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01263, allocations: 3.938 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.0128, allocations: 154.8 kB / 0.9893 GB, free: 9.844 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.0128, allocations: 0 / 0.9893 GB, free: 9.844 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0003116/0.01311, allocations: 217.1 kB / 0.9895 GB, free: 9.625 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.01314, allocations: 55.34 kB / 0.9896 GB, free: 9.559 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.01363, allocations: 0.6719 MB / 0.9902 GB, free: 8.879 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.01366, allocations: 33.7 kB / 0.9902 GB, free: 8.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.0138, allocations: 264.4 kB / 0.9905 GB, free: 8.578 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.01383, allocations: 43.67 kB / 0.9905 GB, free: 8.535 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.0139, allocations: 49.7 kB / 0.9906 GB, free: 8.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.014, allocations: 374.8 kB / 0.9909 GB, free: 8.105 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.01409, allocations: 71.97 kB / 0.991 GB, free: 8.035 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.01422, allocations: 168.8 kB / 0.9912 GB, free: 7.848 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01437, allocations: 127.7 kB / 0.9913 GB, free: 7.719 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01437, allocations: 0 / 0.9913 GB, free: 7.719 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002667/0.01464, allocations: 283.8 kB / 0.9916 GB, free: 7.438 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01465, allocations: 8.062 kB / 0.9916 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01465, allocations: 0 / 0.9916 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01467, allocations: 4 kB / 0.9916 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.0148, allocations: 39.91 kB / 0.9916 GB, free: 7.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.0148, allocations: 0 / 0.9916 GB, free: 7.387 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-05/0.0149, allocations: 27.88 kB / 0.9916 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01492, allocations: 8 kB / 0.9916 GB, free: 7.352 MB / 0.948 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.0001575/0.01508, allocations: 210.2 kB / 0.9918 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.01514, allocations: 63.56 kB / 0.9919 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.01538, allocations: 186.5 kB / 0.9921 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01539, allocations: 0 / 0.9921 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01539, allocations: 0 / 0.9921 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.0154, allocations: 3.984 kB / 0.9921 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01562, allocations: 316.6 kB / 0.9924 GB, free: 6.531 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01563, allocations: 3.938 kB / 0.9924 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.01568, allocations: 19.92 kB / 0.9924 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01569, allocations: 0 / 0.9924 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.0157, allocations: 4 kB / 0.9924 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.0157, allocations: 11.94 kB / 0.9924 GB, free: 6.492 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0157, allocations: 0 / 0.9924 GB, free: 6.492 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.01599, allocations: 267.3 kB / 0.9927 GB, free: 6.215 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.01605, allocations: 63.52 kB / 0.9927 GB, free: 6.152 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.01608, allocations: 8 kB / 0.9928 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.01615, allocations: 11.98 kB / 0.9928 GB, free: 6.133 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.0162, allocations: 19.97 kB / 0.9928 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.01622, allocations: 11.98 kB / 0.9928 GB, free: 6.102 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003065/0.01652, allocations: 439 kB / 0.9932 GB, free: 5.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01652, allocations: 4.062 kB / 0.9932 GB, free: 5.676 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002224/0.01675, allocations: 63.89 kB / 0.9933 GB, free: 5.613 MB / 0.948 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.001165/0.01791, allocations: 1.145 MB / 0.9944 GB, free: 4.625 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.01816, allocations: 151.1 kB / 0.9945 GB, free: 4.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01816, allocations: 0 / 0.9945 GB, free: 4.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.01823, allocations: 47.92 kB / 0.9946 GB, free: 4.434 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01854, allocations: 94.31 kB / 0.9947 GB, free: 4.344 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.02178, allocations: 3.818 MB / 0.9984 GB, free: 436 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.02194, allocations: 263.2 kB / 0.9987 GB, free: 148 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.02207, allocations: 42.95 kB / 0.9987 GB, free: 104 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.02225, allocations: 164.5 kB / 0.9989 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of SimCode: time 1.193e-06/0.02225, allocations: 0 / 0.9989 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.04427, allocations: 10.31 MB / 1.009 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/6.955, allocations: 9.188 kB / 1.009 GB, free: 5.762 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] 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: 10.941994479857385]