Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0007805/0.0007805, 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.001217/0.001217, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8834/0.8834, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.703/1.703, 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.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.965e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002752/0.002771, allocations: 2.58 MB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004043, allocations: 1.014 MB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004169, allocations: 4 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.004607, allocations: 206.5 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004726, allocations: 95.23 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.005109, allocations: 183.6 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.005411, allocations: 411.6 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.00562, allocations: 146.3 kB / 0.9855 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.005798, allocations: 227.4 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.00592, allocations: 131.5 kB / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.005958, allocations: 40 kB / 0.9859 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.006176, allocations: 159.8 kB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.006319, allocations: 271.2 kB / 0.9863 GB, free: 13.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.006429, allocations: 195.3 kB / 0.9865 GB, free: 12.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.007049, allocations: 0.9575 MB / 0.9874 GB, free: 11.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007053, allocations: 4 kB / 0.9874 GB, free: 11.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007054, allocations: 0 / 0.9874 GB, free: 11.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.007063, allocations: 0 / 0.9874 GB, free: 11.96 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009558/0.008019, allocations: 1.079 MB / 0.9885 GB, free: 10.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.008053, allocations: 15.97 kB / 0.9885 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.008105, allocations: 66.72 kB / 0.9885 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.008736, allocations: 244 kB / 0.9888 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.009513, allocations: 0.6703 MB / 0.9894 GB, free: 9.801 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.009532, allocations: 25.03 kB / 0.9894 GB, free: 9.777 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.00956, allocations: 28.38 kB / 0.9895 GB, free: 9.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.01004, allocations: 408.2 kB / 0.9899 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.01005, allocations: 192 / 0.9899 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.01007, allocations: 16.38 kB / 0.9899 GB, free: 9.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.01008, allocations: 11.94 kB / 0.9899 GB, free: 9.309 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.0106, allocations: 418.4 kB / 0.9903 GB, free: 8.902 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.01236, allocations: 1.47 MB / 0.9917 GB, free: 7.387 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.01277, allocations: 206.6 kB / 0.9919 GB, free: 7.176 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.01293, allocations: 88.81 kB / 0.992 GB, free: 7.086 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.01297, allocations: 11.98 kB / 0.992 GB, free: 7.074 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.01299, allocations: 38.56 kB / 0.992 GB, free: 7.027 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.01299, allocations: 3.938 kB / 0.9921 GB, free: 7.023 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0006444/0.01364, allocations: 379.4 kB / 0.9924 GB, free: 6.648 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.01367, allocations: 59.34 kB / 0.9925 GB, free: 6.578 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009264/0.0146, allocations: 1.239 MB / 0.9937 GB, free: 5.316 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.01462, allocations: 33.7 kB / 0.9937 GB, free: 5.277 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.01487, allocations: 428.5 kB / 0.9941 GB, free: 4.852 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.01491, allocations: 79.31 kB / 0.9942 GB, free: 4.773 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.01497, allocations: 49.7 kB / 0.9942 GB, free: 4.719 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.01506, allocations: 322 kB / 0.9946 GB, free: 4.398 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.01525, allocations: 139.9 kB / 0.9947 GB, free: 4.262 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.01547, allocations: 227.6 kB / 0.9949 GB, free: 4.012 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.01582, allocations: 279.4 kB / 0.9952 GB, free: 3.723 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01583, allocations: 4 kB / 0.9952 GB, free: 3.719 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004867/0.01631, allocations: 471.5 kB / 0.9956 GB, free: 3.254 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01633, allocations: 7.938 kB / 0.9956 GB, free: 3.246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01633, allocations: 4 kB / 0.9956 GB, free: 3.242 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01635, allocations: 4.156 kB / 0.9956 GB, free: 3.238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.01652, allocations: 63.89 kB / 0.9957 GB, free: 3.176 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.01652, allocations: 7.938 kB / 0.9957 GB, free: 3.168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01665, allocations: 31.83 kB / 0.9957 GB, free: 3.137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01667, allocations: 8 kB / 0.9957 GB, free: 3.129 MB / 0.948 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.0002047/0.01687, allocations: 277.7 kB / 0.996 GB, free: 2.848 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.01694, allocations: 87.39 kB / 0.9961 GB, free: 2.762 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.0174, allocations: 321.8 kB / 0.9964 GB, free: 2.438 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01741, allocations: 0 / 0.9964 GB, free: 2.438 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01741, allocations: 7.922 kB / 0.9964 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01742, allocations: 0 / 0.9964 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.01835, allocations: 0.8899 MB / 0.9973 GB, free: 1.473 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01836, allocations: 0 / 0.9973 GB, free: 1.473 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01847, allocations: 52.16 kB / 0.9973 GB, free: 1.422 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01847, allocations: 7.938 kB / 0.9973 GB, free: 1.414 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01849, allocations: 7.984 kB / 0.9973 GB, free: 1.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01849, allocations: 4 kB / 0.9973 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01849, allocations: 0 / 0.9973 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.0189, allocations: 440.1 kB / 0.9978 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.01905, allocations: 135.3 kB / 0.9979 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.01908, allocations: 4 kB / 0.9979 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.01921, allocations: 15.98 kB / 0.9979 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.01925, allocations: 19.97 kB / 0.9979 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.01927, allocations: 15.98 kB / 0.9979 GB, free: 0.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006779/0.01994, allocations: 0.9027 MB / 0.9988 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01994, allocations: 0 / 0.9988 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002696/0.02021, allocations: 111.7 kB / 0.9989 GB, free: 15.73 MB / 0.9636 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.0006916/0.0209, allocations: 1.004 MB / 0.9999 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.02131, allocations: 271.7 kB / 1 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02131, allocations: 0 / 1 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.02147, allocations: 100.3 kB / 1 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.02178, allocations: 67.42 kB / 1 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.0287, allocations: 7.28 MB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.02897, allocations: 392.8 kB / 1.008 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.02915, allocations: 104.6 kB / 1.008 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.0294, allocations: 296.4 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.0294, allocations: 0 / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.05338, allocations: 14.66 MB / 1.023 GB, free: 7.527 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.277, allocations: 5.484 kB / 1.023 GB, free: 7.523 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.216731790453196]