Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 107.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 1.104 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.797, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004523/0.8015, allocations: 2.751 MB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.8035, allocations: 1.096 MB / 1.273 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.8038, allocations: 11.94 kB / 1.273 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.8044, allocations: 210.5 kB / 1.273 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.8046, allocations: 91.23 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.8051, allocations: 179.7 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.8056, allocations: 411.7 kB / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.8059, allocations: 149.9 kB / 1.274 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.8061, allocations: 155.3 kB / 1.274 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.8063, allocations: 179 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.8064, allocations: 40 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.8067, allocations: 175.8 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.8069, allocations: 259.2 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.8072, allocations: 353.6 kB / 1.275 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.8082, allocations: 0.97 MB / 1.276 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8082, allocations: 0 / 1.276 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8082, allocations: 0 / 1.276 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.8083, allocations: 0 / 1.276 GB, free: 14.18 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001563/0.8098, allocations: 1.169 MB / 1.277 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.8099, allocations: 8.031 kB / 1.277 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.8099, allocations: 66.72 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.8112, allocations: 240 kB / 1.277 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8127, allocations: 0.7315 MB / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.8127, allocations: 25.03 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.8128, allocations: 28.38 kB / 1.278 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.8136, allocations: 394.2 kB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.8136, allocations: 0 / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.8136, allocations: 16 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.8136, allocations: 8 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.8146, allocations: 414.4 kB / 1.279 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.8178, allocations: 1.795 MB / 1.28 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.8184, allocations: 206.6 kB / 1.281 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.8187, allocations: 92.8 kB / 1.281 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.8188, allocations: 8 kB / 1.281 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.8188, allocations: 34.56 kB / 1.281 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.8188, allocations: 0 / 1.281 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.001049/0.8198, allocations: 379.2 kB / 1.281 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8199, allocations: 55.41 kB / 1.281 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.8214, allocations: 1.247 MB / 1.282 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.8214, allocations: 29.7 kB / 1.282 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.8218, allocations: 436.4 kB / 1.283 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.8219, allocations: 71.73 kB / 1.283 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.822, allocations: 57.64 kB / 1.283 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8221, allocations: 314 kB / 1.283 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.8224, allocations: 147.9 kB / 1.283 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.8228, allocations: 205.9 kB / 1.283 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.8235, allocations: 271.9 kB / 1.284 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8235, allocations: 4 kB / 1.284 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009469/0.8244, allocations: 468.7 kB / 1.284 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.8245, allocations: 7.984 kB / 1.284 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8245, allocations: 12.09 kB / 1.284 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8245, allocations: 0 / 1.284 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.8248, allocations: 55.91 kB / 1.284 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.8248, allocations: 4 kB / 1.284 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.8251, allocations: 39.7 kB / 1.284 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.8251, allocations: 15.98 kB / 1.284 GB, free: 4.863 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003226/0.8254, allocations: 273.6 kB / 1.285 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.8255, allocations: 83.44 kB / 1.285 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008296/0.8264, allocations: 333.7 kB / 1.285 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8264, allocations: 4 kB / 1.285 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8264, allocations: 0 / 1.285 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8264, allocations: 3.984 kB / 1.285 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.8282, allocations: 1.008 MB / 1.286 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8282, allocations: 0 / 1.286 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.8284, allocations: 39.97 kB / 1.286 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.8284, allocations: 7.984 kB / 1.286 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.8285, allocations: 8 kB / 1.286 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8285, allocations: 0 / 1.286 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8285, allocations: 7.938 kB / 1.286 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/0.8292, allocations: 438 kB / 1.286 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.8295, allocations: 208.4 kB / 1.287 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.8296, allocations: 8 kB / 1.287 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.8299, allocations: 15.98 kB / 1.287 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.83, allocations: 27.84 kB / 1.287 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.83, allocations: 8 kB / 1.287 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001165/0.8311, allocations: 0.9028 MB / 1.288 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8311, allocations: 4 kB / 1.288 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004432/0.8316, allocations: 99.78 kB / 1.288 GB, free: 1.262 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001217/0.8328, allocations: 0.9907 MB / 1.289 GB, free: 232 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007578/0.8336, allocations: 276.8 kB / 1.289 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8336, allocations: 0 / 1.289 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.8339, allocations: 103.8 kB / 1.289 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.8344, allocations: 78.84 kB / 1.289 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.848, allocations: 7.258 MB / 1.296 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.8491, allocations: 0.9917 MB / 1.297 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000579/0.8497, allocations: 100.6 kB / 1.297 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.8503, allocations: 303.3 kB / 1.298 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of SimCode: time 1.613e-06/0.8503, allocations: 0 / 1.298 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.904, allocations: 13.74 MB / 1.311 GB, free: 9.359 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.56/10.46, allocations: 16.97 kB / 1.311 GB, free: 9.352 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 16.496304688975215]