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.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.001099/0.001099, 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.001283/0.001283, 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.8637/0.8637, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.631/1.631, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.164e-06/2.164e-06, allocations: 0 / 0.9505 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.29e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003339/0.003362, allocations: 2.579 MB / 0.953 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004792, allocations: 1.014 MB / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.004968, allocations: 4 kB / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.005459, allocations: 198.6 kB / 0.9542 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.005613, allocations: 95.19 kB / 0.9543 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.0063, allocations: 191.6 kB / 0.9545 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.006654, allocations: 407.6 kB / 0.9549 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.006888, allocations: 142.3 kB / 0.955 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.00709, allocations: 231.4 kB / 0.9552 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.007222, allocations: 131.5 kB / 0.9554 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.007264, allocations: 40 kB / 0.9554 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.007512, allocations: 163.8 kB / 0.9556 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.007689, allocations: 271.2 kB / 0.9558 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.007819, allocations: 191.3 kB / 0.956 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007131/0.008532, allocations: 0.9614 MB / 0.9569 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.008535, allocations: 0 / 0.9569 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.008537, allocations: 0 / 0.9569 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.008549, allocations: 0 / 0.9569 GB, free: 11.72 MB / 0.8698 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.001137/0.009686, allocations: 1.079 MB / 0.958 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.009728, allocations: 16.03 kB / 0.958 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.009793, allocations: 62.72 kB / 0.9581 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007401/0.01053, allocations: 240 kB / 0.9583 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.01174, allocations: 0.6703 MB / 0.9589 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.01177, allocations: 29.03 kB / 0.959 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.01181, allocations: 28.38 kB / 0.959 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.01237, allocations: 404.2 kB / 0.9594 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.01238, allocations: 192 / 0.9594 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.0124, allocations: 20.36 kB / 0.9594 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01241, allocations: 15.88 kB / 0.9594 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.01299, allocations: 414.4 kB / 0.9598 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.01493, allocations: 1.466 MB / 0.9612 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.01533, allocations: 206.8 kB / 0.9614 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.01549, allocations: 96.8 kB / 0.9615 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.01552, allocations: 8 kB / 0.9615 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.863e-05/0.0156, allocations: 34.56 kB / 0.9616 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.01561, allocations: 0 / 0.9616 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0006142/0.01622, allocations: 375.5 kB / 0.9619 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.01625, allocations: 55.34 kB / 0.962 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.01724, allocations: 1.25 MB / 0.9632 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.01726, allocations: 29.7 kB / 0.9632 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.0175, allocations: 444.5 kB / 0.9637 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.01755, allocations: 67.44 kB / 0.9637 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.01762, allocations: 53.66 kB / 0.9638 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.0177, allocations: 314 kB / 0.9641 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.01789, allocations: 143.9 kB / 0.9642 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.01813, allocations: 232.1 kB / 0.9644 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.0185, allocations: 281 kB / 0.9647 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.0185, allocations: 3.984 kB / 0.9647 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006742/0.01918, allocations: 464.7 kB / 0.9652 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01919, allocations: 8 kB / 0.9652 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.0192, allocations: 0 / 0.9652 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.01922, allocations: 8.156 kB / 0.9652 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.01939, allocations: 71.83 kB / 0.9652 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.0194, allocations: 3.938 kB / 0.9652 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.01955, allocations: 31.83 kB / 0.9653 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.01957, allocations: 8 kB / 0.9653 GB, free: 2.895 MB / 0.8698 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.0002299/0.0198, allocations: 277.6 kB / 0.9655 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.01986, allocations: 87.44 kB / 0.9656 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.02039, allocations: 321.8 kB / 0.9659 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.02039, allocations: 4 kB / 0.9659 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.02039, allocations: 3.938 kB / 0.9659 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.0204, allocations: 0 / 0.9659 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.02142, allocations: 0.8935 MB / 0.9668 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.02142, allocations: 0 / 0.9668 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.02157, allocations: 56.08 kB / 0.9669 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.02158, allocations: 4 kB / 0.9669 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.0216, allocations: 4 kB / 0.9669 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.0216, allocations: 0 / 0.9669 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.0216, allocations: 4 kB / 0.9669 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.02208, allocations: 449.4 kB / 0.9673 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.02225, allocations: 123.4 kB / 0.9674 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.0223, allocations: 11.98 kB / 0.9674 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.02244, allocations: 15.98 kB / 0.9675 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.0225, allocations: 19.97 kB / 0.9675 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.02251, allocations: 11.98 kB / 0.9675 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007656/0.02328, allocations: 0.9067 MB / 0.9684 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.9e-07/0.02328, allocations: 0 / 0.9684 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003614/0.02364, allocations: 107.8 kB / 0.9685 GB, free: 15.49 MB / 0.8855 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.0007933/0.02443, allocations: 0.9958 MB / 0.9694 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.02489, allocations: 275.5 kB / 0.9697 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02489, allocations: 3.938 kB / 0.9697 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.02506, allocations: 102 kB / 0.9698 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.02545, allocations: 63.48 kB / 0.9699 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/0.03371, allocations: 7.294 MB / 0.977 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.03402, allocations: 399.6 kB / 0.9774 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.03426, allocations: 108.6 kB / 0.9775 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.03462, allocations: 292.4 kB / 0.9778 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of SimCode: time 1.272e-06/0.03462, allocations: 0 / 0.9778 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.06359, allocations: 14.65 MB / 0.9921 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.37, allocations: 1.891 kB / 0.9921 GB, free: 7.277 MB / 0.9011 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.270714555867016]