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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 12 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7852, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002607/0.7878, allocations: 1.872 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.7891, allocations: 0.8365 MB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.7892, allocations: 4 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.7896, allocations: 183.2 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.7897, allocations: 67.83 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.79, allocations: 75.83 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.7902, allocations: 167.5 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.7904, allocations: 73.61 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.7905, allocations: 75.59 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.7906, allocations: 83.53 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.7907, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.7909, allocations: 135.8 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.7911, allocations: 163.4 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.7912, allocations: 117.3 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.7916, allocations: 0.5006 MB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7916, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7917, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7917, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 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.001048/0.7927, allocations: 0.8661 MB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7928, allocations: 11.98 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.7933, allocations: 122.9 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.7943, allocations: 0.7914 MB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.7944, allocations: 8 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.7944, allocations: 15.95 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.7947, allocations: 149.5 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.7947, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.7948, allocations: 4 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.7948, allocations: 4 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.7951, allocations: 111.9 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.7961, allocations: 0.6212 MB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.7966, allocations: 146.5 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.7975, allocations: 0.5814 MB / 1.028 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.7976, allocations: 34.56 kB / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.434e-06/0.7976, allocations: 0 / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0004297/0.798, allocations: 148.9 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.7981, allocations: 51.41 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.7991, allocations: 0.7865 MB / 1.029 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.7991, allocations: 25.7 kB / 1.029 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.7995, allocations: 367.5 kB / 1.03 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.7995, allocations: 19.72 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.7995, allocations: 0 / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7997, allocations: 314 kB / 1.03 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.7998, allocations: 11.98 kB / 1.03 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.7999, allocations: 58 kB / 1.03 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.442e-05/0.8, allocations: 35.86 kB / 1.03 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8, allocations: 0 / 1.03 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/0.8002, allocations: 172.8 kB / 1.03 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.8002, allocations: 4 kB / 1.03 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8003, allocations: 4 kB / 1.03 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.8003, allocations: 0 / 1.03 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.8004, allocations: 27.88 kB / 1.03 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8004, allocations: 4 kB / 1.03 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.8005, allocations: 8.25 kB / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.8006, allocations: 4 kB / 1.03 GB, free: 6.941 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002854/0.8008, allocations: 249.7 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.8009, allocations: 79.08 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.8013, allocations: 148.2 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.8013, allocations: 0 / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.8013, allocations: 3.953 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8013, allocations: 0 / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.8018, allocations: 385.4 kB / 1.031 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8018, allocations: 0 / 1.031 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.8018, allocations: 8 kB / 1.031 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.8018, allocations: 4 kB / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.8019, allocations: 0 / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.8019, allocations: 3.984 kB / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8019, allocations: 0 / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.8021, allocations: 230.5 kB / 1.031 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.8022, allocations: 144.1 kB / 1.032 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.8023, allocations: 4 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.8024, allocations: 4 kB / 1.032 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.8024, allocations: 4 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.8024, allocations: 3.984 kB / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006211/0.8031, allocations: 0.5497 MB / 1.032 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8031, allocations: 0 / 1.032 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003015/0.8034, allocations: 43.95 kB / 1.032 GB, free: 5.008 MB / 0.7794 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.8036, allocations: 103.2 kB / 1.032 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.8038, allocations: 47.92 kB / 1.032 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8038, allocations: 3.938 kB / 1.032 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.8039, allocations: 27.86 kB / 1.032 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.8042, allocations: 49.2 kB / 1.032 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.8058, allocations: 1.181 MB / 1.034 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.8064, allocations: 0.9637 MB / 1.034 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.8066, allocations: 69.34 kB / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.8066, allocations: 35.42 kB / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.8066, allocations: 0 / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.006228/0.8129, allocations: 1.678 MB / 1.036 GB, free: 0.8047 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches