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.001533/0.001533, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001772/0.001772, allocations: 217.1 kB / 22.26 MB, free: 5.082 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.027 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.396/3.396, allocations: 0.49 GB / 0.7951 GB, free: 33.34 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: "" <> 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: 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.002119/0.002119, allocations: 72.09 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004686/0.3709, allocations: 2.507 MB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.374, allocations: 1.677 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.3743, allocations: 11.88 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.375, allocations: 222.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.3756, allocations: 199.1 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3761, allocations: 163.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.3767, allocations: 362.8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.3769, allocations: 60.89 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.3772, allocations: 147.4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.3774, allocations: 167.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.3775, allocations: 20 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3777, allocations: 71.95 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3778, allocations: 131.5 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.378, allocations: 194.6 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.3787, allocations: 0.5093 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3787, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3787, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.3787, allocations: 0 / 1.332 GB, free: 11.49 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.001448/0.3801, allocations: 0.7652 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3802, allocations: 12.03 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.3803, allocations: 50.73 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3804, allocations: 60.56 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.381, allocations: 367.4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.381, allocations: 16.12 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.3811, allocations: 12 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3814, allocations: 141.6 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3814, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3814, allocations: 4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3814, allocations: 8 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.3816, allocations: 83.95 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3827, allocations: 0.6124 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3832, allocations: 130.7 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.3832, allocations: 36.84 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3833, allocations: 4 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.3835, allocations: 107.3 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3835, allocations: 0 / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004834/0.384, allocations: 225.2 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.384, allocations: 51.41 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.3849, allocations: 0.6603 MB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3849, allocations: 29.7 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.3851, allocations: 264.4 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.3852, allocations: 39.73 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.3853, allocations: 57.59 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3855, allocations: 378.7 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3856, allocations: 75.97 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3858, allocations: 123.3 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.386, allocations: 123.7 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.386, allocations: 0 / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004504/0.3865, allocations: 283.5 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3865, allocations: 11.94 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3865, allocations: 0 / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3865, allocations: 0 / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3867, allocations: 35.98 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.3867, allocations: 3.938 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3869, allocations: 31.86 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.387, allocations: 12 kB / 1.337 GB, free: 6.508 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.0002399/0.3872, allocations: 212 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.3873, allocations: 51.67 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.3876, allocations: 194.2 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3876, allocations: 4 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3876, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3876, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.388, allocations: 352.4 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.388, allocations: 0 / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.3881, allocations: 8 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3881, allocations: 4 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3881, allocations: 3.984 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.3881, allocations: 4 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3881, allocations: 0 / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.3886, allocations: 273 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.3887, allocations: 51.66 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.3888, allocations: 8 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3889, allocations: 16.05 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.389, allocations: 23.95 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.389, allocations: 4 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005271/0.3895, allocations: 443 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3895, allocations: 0 / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003072/0.3898, allocations: 59.92 kB / 1.338 GB, free: 4.762 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.002325/0.3921, allocations: 1.134 MB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.3926, allocations: 147.8 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3926, allocations: 0 / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3927, allocations: 51.92 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.3932, allocations: 82.39 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.3991, allocations: 3.834 MB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.3996, allocations: 0.861 MB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.3997, allocations: 46.27 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.4, allocations: 159.4 kB / 1.345 GB, free: 14.47 MB / 1.045 GB Notification: Performance of SimCode: time 7.91e-07/0.4, allocations: 0 / 1.345 GB, free: 14.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05169/0.4517, allocations: 9.545 MB / 1.354 GB, free: 5.043 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.29, allocations: 8 kB / 1.354 GB, free: 5.035 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.452818705001846]