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.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.001785/0.001785, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001939/0.001939, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002203/0.002203, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.115, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003871/1.119, allocations: 2.269 MB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001241/1.12, allocations: 0.968 MB / 1.307 GB, free: 29.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.703e-05/1.12, allocations: 2.906 kB / 1.307 GB, free: 29.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004828/1.12, allocations: 188.3 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/1.12, allocations: 74.66 kB / 1.307 GB, free: 29.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/1.121, allocations: 111.5 kB / 1.308 GB, free: 29.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/1.121, allocations: 221.8 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.121, allocations: 68.81 kB / 1.308 GB, free: 29.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/1.121, allocations: 83.02 kB / 1.308 GB, free: 29.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/1.121, allocations: 96.47 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/1.121, allocations: 16.84 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/1.122, allocations: 158.3 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/1.122, allocations: 217 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/1.122, allocations: 268.4 kB / 1.309 GB, free: 29.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005678/1.123, allocations: 0.7243 MB / 1.309 GB, free: 28.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.123, allocations: 0 / 1.309 GB, free: 28.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/1.123, allocations: 2.938 kB / 1.309 GB, free: 28.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.123, allocations: 0 / 1.309 GB, free: 28.76 MB / 1.061 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.001058/1.124, allocations: 1.003 MB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.124, allocations: 9.062 kB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/1.124, allocations: 51.88 kB / 1.31 GB, free: 27.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/1.124, allocations: 119.5 kB / 1.31 GB, free: 27.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/1.125, allocations: 0.5983 MB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/1.125, allocations: 14.06 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/1.125, allocations: 9.312 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/1.125, allocations: 197.6 kB / 1.311 GB, free: 27.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.125, allocations: 3.938 kB / 1.311 GB, free: 27.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/1.125, allocations: 4 kB / 1.311 GB, free: 27.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.125, allocations: 3.094 kB / 1.311 GB, free: 27.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/1.126, allocations: 232.2 kB / 1.311 GB, free: 27.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/1.127, allocations: 0.9106 MB / 1.312 GB, free: 26.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/1.127, allocations: 314.7 kB / 1.313 GB, free: 26.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.127, allocations: 112.2 kB / 1.313 GB, free: 26.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/1.128, allocations: 240.8 kB / 1.313 GB, free: 26.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/1.128, allocations: 30.56 kB / 1.313 GB, free: 26.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/1.128, allocations: 0 / 1.313 GB, free: 26.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.00071/1.129, allocations: 409.2 kB / 1.313 GB, free: 26.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.129, allocations: 54.69 kB / 1.313 GB, free: 26.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/1.13, allocations: 0.9982 MB / 1.314 GB, free: 25.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/1.13, allocations: 25.7 kB / 1.314 GB, free: 25.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/1.13, allocations: 343.5 kB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.13, allocations: 29.84 kB / 1.315 GB, free: 25.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/1.13, allocations: 32.83 kB / 1.315 GB, free: 25.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.787e-05/1.13, allocations: 312.6 kB / 1.315 GB, free: 25.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/1.13, allocations: 95.44 kB / 1.315 GB, free: 25.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/1.131, allocations: 122.5 kB / 1.315 GB, free: 25.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/1.131, allocations: 219.6 kB / 1.316 GB, free: 25.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.131, allocations: 0 / 1.316 GB, free: 25.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004574/1.131, allocations: 319.4 kB / 1.316 GB, free: 24.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.131, allocations: 5.812 kB / 1.316 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.131, allocations: 2.656 kB / 1.316 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.131, allocations: 0 / 1.316 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.132, allocations: 35.06 kB / 1.316 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.132, allocations: 64 / 1.316 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/1.132, allocations: 24.28 kB / 1.316 GB, free: 24.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.132, allocations: 4.969 kB / 1.316 GB, free: 24.89 MB / 1.061 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.0002044/1.132, allocations: 243.2 kB / 1.316 GB, free: 24.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/1.132, allocations: 85.14 kB / 1.316 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/1.133, allocations: 327.5 kB / 1.317 GB, free: 24.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.133, allocations: 0 / 1.317 GB, free: 24.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.133, allocations: 4 kB / 1.317 GB, free: 24.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.133, allocations: 2.688 kB / 1.317 GB, free: 24.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/1.133, allocations: 0.5278 MB / 1.317 GB, free: 24.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.133, allocations: 0 / 1.317 GB, free: 24.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/1.133, allocations: 23.69 kB / 1.317 GB, free: 24.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.133, allocations: 3.984 kB / 1.317 GB, free: 24.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/1.133, allocations: 11.28 kB / 1.317 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.133, allocations: 2.125 kB / 1.317 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.133, allocations: 0 / 1.317 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/1.134, allocations: 408.9 kB / 1.318 GB, free: 24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/1.134, allocations: 182.8 kB / 1.318 GB, free: 23.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/1.134, allocations: 0 / 1.318 GB, free: 23.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/1.134, allocations: 11.97 kB / 1.318 GB, free: 23.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/1.134, allocations: 10.56 kB / 1.318 GB, free: 23.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.134, allocations: 6.812 kB / 1.318 GB, free: 23.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006773/1.135, allocations: 0.7176 MB / 1.318 GB, free: 23.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.135, allocations: 0 / 1.318 GB, free: 23.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003418/1.135, allocations: 76.23 kB / 1.318 GB, free: 23.54 MB / 1.061 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.0007054/1.136, allocations: 0.9565 MB / 1.319 GB, free: 22.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004123/1.136, allocations: 212.9 kB / 1.32 GB, free: 22.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.136, allocations: 4 kB / 1.32 GB, free: 22.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/1.136, allocations: 107 kB / 1.32 GB, free: 22.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.137, allocations: 49.73 kB / 1.32 GB, free: 22.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00795/1.145, allocations: 6.388 MB / 1.326 GB, free: 19.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/1.145, allocations: 0.9401 MB / 1.327 GB, free: 19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002616/1.146, allocations: 82.91 kB / 1.327 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.146, allocations: 220.2 kB / 1.327 GB, free: 18.8 MB / 1.061 GB Notification: Performance of SimCode: time 1.683e-06/1.146, allocations: 0 / 1.327 GB, free: 18.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/1.195, allocations: 11.82 MB / 1.339 GB, free: 17.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.75/10.94, allocations: 9.016 kB / 1.339 GB, free: 17.07 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.462493393104523]