Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008015/0.0008015, 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.0008939/0.0008939, allocations: 170.3 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.9116/0.9116, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.834e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002437/0.002455, allocations: 2.169 MB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003466, allocations: 0.8704 MB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.003552, allocations: 4 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.003983, allocations: 179.1 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.004071, allocations: 75.38 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.004389, allocations: 107.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.00459, allocations: 235 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.004741, allocations: 65.88 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004856, allocations: 123.7 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.004935, allocations: 67.73 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.004959, allocations: 20 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.005147, allocations: 143.8 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.005273, allocations: 219.3 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.005355, allocations: 127.5 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.005843, allocations: 0.7083 MB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.005845, allocations: 0 / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.005846, allocations: 4 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.005853, allocations: 0 / 1.005 GB, free: 8.355 MB / 0.9636 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.0009141/0.006767, allocations: 0.9187 MB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.006805, allocations: 8.75 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.006843, allocations: 46.73 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.007139, allocations: 124.3 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.007608, allocations: 0.5293 MB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.007622, allocations: 8.375 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.007639, allocations: 12.38 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.007882, allocations: 198.1 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.007889, allocations: 192 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.007902, allocations: 8.375 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.007907, allocations: 8.125 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.008166, allocations: 227.8 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.009049, allocations: 0.8194 MB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.009451, allocations: 306.5 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.009557, allocations: 104.9 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.009899, allocations: 171.8 kB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.009916, allocations: 34.56 kB / 1.008 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.009917, allocations: 0 / 1.008 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000455/0.01037, allocations: 412.9 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.0104, allocations: 51.41 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.01118, allocations: 0.9974 MB / 1.009 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01119, allocations: 29.7 kB / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.01138, allocations: 348.1 kB / 1.01 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.0114, allocations: 35.69 kB / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.01144, allocations: 25.66 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.01151, allocations: 314 kB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.01164, allocations: 99.95 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.01176, allocations: 118.5 kB / 1.01 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.01197, allocations: 214.4 kB / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01198, allocations: 0 / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003046/0.01228, allocations: 329 kB / 1.011 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.0123, allocations: 7.938 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.0123, allocations: 3.984 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.01231, allocations: 4.062 kB / 1.011 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.0124, allocations: 23.98 kB / 1.011 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.0124, allocations: 0 / 1.011 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.01247, allocations: 11.98 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01248, allocations: 4 kB / 1.011 GB, free: 1.645 MB / 0.9636 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.0001758/0.01266, allocations: 254.1 kB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.01271, allocations: 75.48 kB / 1.011 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.01306, allocations: 344.4 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01306, allocations: 0 / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01306, allocations: 0 / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01307, allocations: 7.922 kB / 1.012 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.01338, allocations: 452.5 kB / 1.012 GB, free: 480 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01338, allocations: 0 / 1.012 GB, free: 480 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.01344, allocations: 23.97 kB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01344, allocations: 0 / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.01345, allocations: 7.938 kB / 1.012 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.01345, allocations: 4 kB / 1.012 GB, free: 444 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01345, allocations: 3.938 kB / 1.012 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.01376, allocations: 402.9 kB / 1.012 GB, free: 20 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.01388, allocations: 107.5 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01391, allocations: 3.938 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/0.01399, allocations: 8 kB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.01402, allocations: 11.98 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.01403, allocations: 0 / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005536/0.01458, allocations: 0.7215 MB / 1.013 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01458, allocations: 0 / 1.013 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002265/0.01481, allocations: 67.89 kB / 1.013 GB, free: 15.11 MB / 0.9792 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.0005592/0.01537, allocations: 0.9617 MB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.01563, allocations: 216.1 kB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01563, allocations: 3.938 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.01574, allocations: 108.1 kB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.016, allocations: 53.36 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.02154, allocations: 6.404 MB / 1.021 GB, free: 7.25 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.02177, allocations: 349.4 kB / 1.021 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.02189, allocations: 77.33 kB / 1.021 GB, free: 6.805 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.02206, allocations: 216.4 kB / 1.022 GB, free: 6.594 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.02206, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.04501, allocations: 12.67 MB / 1.034 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.963, allocations: 8.906 kB / 1.034 GB, free: 10.08 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.528409941121936]