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.001807/0.001807, allocations: 113.2 kB / 19.73 MB, free: 2.242 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.00223/0.00223, allocations: 222.8 kB / 23.04 MB, free: 5.078 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) [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.002003/0.002003, allocations: 66.33 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004192/0.3205, allocations: 2.493 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.3232, allocations: 1.683 MB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.3234, allocations: 11.88 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.324, allocations: 218.9 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.3245, allocations: 203 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.3248, allocations: 159.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.3253, allocations: 366.8 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.3254, allocations: 56.89 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.3257, allocations: 151.4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.3259, allocations: 167.2 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.3259, allocations: 23.94 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.326, allocations: 71.97 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3262, allocations: 131.5 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.3263, allocations: 186.6 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.327, allocations: 0.5171 MB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.327, allocations: 3.938 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.327, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.327, allocations: 0 / 1.333 GB, free: 11.54 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001219/0.3282, allocations: 0.7523 MB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3282, allocations: 8.031 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.211e-05/0.3282, allocations: 8.188 kB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.3283, allocations: 42.75 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.3284, allocations: 68.5 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.3289, allocations: 379.3 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3289, allocations: 11.94 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.329, allocations: 16 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3293, allocations: 130.3 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3293, allocations: 4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3293, allocations: 7.938 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3293, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3295, allocations: 83.94 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/0.3305, allocations: 0.6124 MB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.3308, allocations: 126.7 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/0.3309, allocations: 44.84 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.331, allocations: 0 / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.3312, allocations: 107.3 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3312, allocations: 4 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004422/0.3316, allocations: 217.1 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3317, allocations: 59.39 kB / 1.336 GB, free: 8.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.3324, allocations: 0.6603 MB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3324, allocations: 33.7 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3326, allocations: 260.4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3327, allocations: 35.72 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.3328, allocations: 65.58 kB / 1.337 GB, free: 7.641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.333, allocations: 374.7 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3331, allocations: 83.89 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3333, allocations: 113.8 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3335, allocations: 129.5 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3335, allocations: 0 / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004303/0.334, allocations: 277.1 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.334, allocations: 9.969 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.334, allocations: 4 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.334, allocations: 0 / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3342, allocations: 43.91 kB / 1.338 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3342, allocations: 4 kB / 1.338 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3344, allocations: 27.94 kB / 1.338 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.3344, allocations: 7.984 kB / 1.338 GB, free: 6.562 MB / 1.029 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.0002225/0.3346, allocations: 214.2 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.3347, allocations: 59.66 kB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.3351, allocations: 186.4 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3351, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3351, allocations: 3.984 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.3351, allocations: 0 / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.3354, allocations: 348.3 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3354, allocations: 0 / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.3355, allocations: 16 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3355, allocations: 4 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3355, allocations: 0 / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3355, allocations: 3.984 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3355, allocations: 0 / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.336, allocations: 268.5 kB / 1.339 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.336, allocations: 51.64 kB / 1.339 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.3361, allocations: 4 kB / 1.339 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3362, allocations: 16.05 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.3363, allocations: 27.95 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3363, allocations: 4 kB / 1.339 GB, free: 5.301 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005143/0.3368, allocations: 439 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3368, allocations: 0 / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002965/0.3371, allocations: 59.94 kB / 1.339 GB, free: 4.82 MB / 1.029 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 (12): * Single equations (assignments): 10 * 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.002223/0.3393, allocations: 1.137 MB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3397, allocations: 143.8 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3397, allocations: 4 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3398, allocations: 55.91 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3403, allocations: 71.94 kB / 1.341 GB, free: 3.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.3452, allocations: 3.844 MB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.3457, allocations: 0.861 MB / 1.345 GB, free: 14.72 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.3459, allocations: 42.25 kB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.3461, allocations: 167.4 kB / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/0.3461, allocations: 0 / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.3803, allocations: 9.585 MB / 1.355 GB, free: 5.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 6.578 kB / 1.355 GB, free: 5.062 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.041743008012418]