Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.00154/0.00154, allocations: 111.3 kB / 17.6 MB, free: 4.668 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.001746/0.001746, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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.806/2.806, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 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.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 72.08 kB / 1.107 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8757, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003353/0.8791, allocations: 2.285 MB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.8804, allocations: 0.9569 MB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.8805, allocations: 2.125 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.881, allocations: 200.8 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.8811, allocations: 71.56 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.8815, allocations: 112.1 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.8818, allocations: 218 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.8819, allocations: 69.03 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.882, allocations: 87.11 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.8821, allocations: 104.3 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.8822, allocations: 17.28 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.8825, allocations: 157.2 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.8827, allocations: 217 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.8828, allocations: 266.4 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.8836, allocations: 0.7226 MB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8836, allocations: 0.8438 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8836, allocations: 0 / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.8836, allocations: 0 / 1.277 GB, free: 4.359 MB / 0.9981 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.001147/0.8848, allocations: 1.009 MB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.8848, allocations: 10.44 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.8849, allocations: 42.23 kB / 1.278 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005358/0.8854, allocations: 125.5 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.8861, allocations: 0.5908 MB / 1.279 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.8861, allocations: 9.875 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.8862, allocations: 11.59 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.8865, allocations: 197.9 kB / 1.279 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8865, allocations: 3.938 kB / 1.279 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.8866, allocations: 5.938 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.8866, allocations: 6.812 kB / 1.279 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.887, allocations: 229.1 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.8882, allocations: 0.9201 MB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.889, allocations: 308.8 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.8892, allocations: 111.9 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.8899, allocations: 237.1 kB / 1.281 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.8899, allocations: 35.12 kB / 1.281 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.8899, allocations: 0 / 1.281 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0008052/0.8907, allocations: 409.3 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.8908, allocations: 55 kB / 1.281 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.8919, allocations: 0.9951 MB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.8919, allocations: 26.41 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.8922, allocations: 350.4 kB / 1.282 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.8922, allocations: 29.02 kB / 1.282 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.8922, allocations: 34.42 kB / 1.282 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.8923, allocations: 307.4 kB / 1.283 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.8925, allocations: 95.69 kB / 1.283 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.8927, allocations: 128.4 kB / 1.283 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.893, allocations: 216 kB / 1.283 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.893, allocations: 0 / 1.283 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005392/0.8936, allocations: 329.5 kB / 1.283 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8936, allocations: 6 kB / 1.283 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8936, allocations: 4.594 kB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8936, allocations: 3 kB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.8938, allocations: 24.5 kB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8938, allocations: 480 / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.894, allocations: 15.8 kB / 1.283 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.894, allocations: 8.812 kB / 1.284 GB, free: 500 kB / 0.9981 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.0002191/0.8942, allocations: 253.7 kB / 1.284 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.8943, allocations: 82.77 kB / 1.284 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.8949, allocations: 334 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.8949, allocations: 1.344 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8949, allocations: 0 / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8949, allocations: 3.094 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.8955, allocations: 0.523 MB / 1.285 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8955, allocations: 1.281 kB / 1.285 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.8957, allocations: 24.56 kB / 1.285 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8957, allocations: 0 / 1.285 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.8957, allocations: 2.109 kB / 1.285 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8957, allocations: 2.281 kB / 1.285 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8957, allocations: 3.938 kB / 1.285 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.8963, allocations: 411.4 kB / 1.285 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.8965, allocations: 189.6 kB / 1.285 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.8966, allocations: 1.219 kB / 1.285 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.8968, allocations: 9.672 kB / 1.285 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.8968, allocations: 6.891 kB / 1.285 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8968, allocations: 3.406 kB / 1.285 GB, free: 15.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009618/0.8978, allocations: 0.7159 MB / 1.286 GB, free: 15.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8978, allocations: 4 kB / 1.286 GB, free: 15.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003873/0.8982, allocations: 76.8 kB / 1.286 GB, free: 15.12 MB / 1.014 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.001009/0.8992, allocations: 0.9585 MB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004892/0.8997, allocations: 217.5 kB / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8997, allocations: 0 / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.8999, allocations: 107.2 kB / 1.287 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.9003, allocations: 50.58 kB / 1.287 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008896/0.9092, allocations: 6.393 MB / 1.294 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.9099, allocations: 0.9485 MB / 1.295 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000222/0.9101, allocations: 74 kB / 1.295 GB, free: 10.56 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.9104, allocations: 216.3 kB / 1.295 GB, free: 10.39 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/0.9104, allocations: 0 / 1.295 GB, free: 10.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.9528, allocations: 11.81 MB / 1.306 GB, free: 8.637 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.334/10.29, allocations: 8.406 kB / 1.306 GB, free: 8.633 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.296530498977518]