Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001475/0.001475, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002111/0.002111, allocations: 222.5 kB / 22.25 MB, free: 5.258 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.793 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.12/3.12, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.002021/0.002021, allocations: 70.27 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3966, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004124/0.4007, allocations: 2.193 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.4023, allocations: 0.8661 MB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.4025, allocations: 11.88 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.403, allocations: 166.9 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.4032, allocations: 75.44 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.4036, allocations: 111.7 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.404, allocations: 227.1 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.4041, allocations: 69.97 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.4043, allocations: 87.53 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.4044, allocations: 103.4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.4045, allocations: 16 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.4048, allocations: 151.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.405, allocations: 215.3 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.4052, allocations: 190.5 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008669/0.4061, allocations: 0.727 MB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4061, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4061, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.4061, allocations: 0 / 1.331 GB, free: 12.21 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001398/0.4075, allocations: 0.9359 MB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4075, allocations: 8.031 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.4076, allocations: 46.73 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.4082, allocations: 124.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.4091, allocations: 0.5454 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4091, allocations: 8.375 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4092, allocations: 12.38 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.4096, allocations: 202.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4096, allocations: 3.938 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.4097, allocations: 8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4097, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.4101, allocations: 219.9 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.4115, allocations: 0.8195 MB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.4122, allocations: 314.5 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.4124, allocations: 100.8 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.4132, allocations: 159.9 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4132, allocations: 38.56 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/0.4132, allocations: 0 / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009221/0.4141, allocations: 409 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4142, allocations: 51.41 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.4155, allocations: 0.9974 MB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.4156, allocations: 29.7 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.4159, allocations: 344.1 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.416, allocations: 35.7 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.416, allocations: 25.7 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4162, allocations: 310 kB / 1.336 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.4164, allocations: 111.8 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4166, allocations: 114.5 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.417, allocations: 218.8 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.417, allocations: 3.938 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006229/0.4177, allocations: 329 kB / 1.337 GB, free: 5.523 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4177, allocations: 4 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4177, allocations: 0 / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4177, allocations: 8.062 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.4179, allocations: 23.92 kB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4179, allocations: 4 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.4181, allocations: 7.984 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4181, allocations: 4 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002858/0.4184, allocations: 250.3 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4185, allocations: 79.42 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.4192, allocations: 328.5 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4192, allocations: 0 / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4192, allocations: 4 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4192, allocations: 0 / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.4197, allocations: 464.3 kB / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4197, allocations: 0 / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4199, allocations: 19.98 kB / 1.338 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.4199, allocations: 7.984 kB / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4199, allocations: 0 / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4199, allocations: 4 kB / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4199, allocations: 0 / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.4205, allocations: 411 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.4208, allocations: 107.4 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.4209, allocations: 4.078 kB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4211, allocations: 15.94 kB / 1.339 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.4211, allocations: 11.92 kB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.4211, allocations: 8 kB / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001034/0.4222, allocations: 0.7176 MB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4222, allocations: 0 / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000434/0.4226, allocations: 67.94 kB / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001206/0.4238, allocations: 0.9539 MB / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005249/0.4243, allocations: 211.8 kB / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4243, allocations: 0 / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.4246, allocations: 112 kB / 1.341 GB, free: 1.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.425, allocations: 47.31 kB / 1.341 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009241/0.4343, allocations: 6.378 MB / 1.347 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4347, allocations: 354.3 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.4349, allocations: 85.23 kB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.4352, allocations: 219.3 kB / 1.348 GB, free: 10.45 MB / 1.045 GB Notification: Performance of SimCode: time 1.503e-06/0.4352, allocations: 0 / 1.348 GB, free: 10.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04658/0.4818, allocations: 12.6 MB / 1.36 GB, free: 14.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.04, allocations: 8.047 kB / 1.36 GB, free: 14.01 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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: 18.877967295004055]