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.006371/0.006372, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001591/0.001591, allocations: 196.5 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 68.86 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003964/0.3118, allocations: 2.318 MB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3135, allocations: 0.9521 MB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.3137, allocations: 0 / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.3144, allocations: 175.3 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3146, allocations: 59.62 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.315, allocations: 95.83 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.3153, allocations: 207.1 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3156, allocations: 89.61 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3157, allocations: 83.52 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3159, allocations: 107.4 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.3159, allocations: 11.94 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.3162, allocations: 135.8 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3165, allocations: 207.4 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.3167, allocations: 258 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.3174, allocations: 0.5533 MB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3174, allocations: 4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3174, allocations: 0 / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.3174, allocations: 3.938 kB / 1.058 GB, free: 3.027 MB / 0.8106 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.001446/0.3189, allocations: 0.9787 MB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3189, allocations: 11.97 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.3195, allocations: 119.8 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.3204, allocations: 0.5818 MB / 1.06 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3204, allocations: 12.38 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3205, allocations: 16.31 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.3209, allocations: 194.1 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3209, allocations: 192 / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.321, allocations: 7.938 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.321, allocations: 4 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.3214, allocations: 227.9 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3228, allocations: 0.9139 MB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.3235, allocations: 322.5 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3237, allocations: 104.8 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.3244, allocations: 244.8 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3244, allocations: 34.56 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3244, allocations: 0 / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008451/0.3253, allocations: 400.5 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3253, allocations: 55.41 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3265, allocations: 0.9935 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3266, allocations: 37.64 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.3269, allocations: 352 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3269, allocations: 27.56 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.327, allocations: 33.55 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3271, allocations: 314 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3273, allocations: 95.94 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.3276, allocations: 118.5 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.328, allocations: 222.8 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.328, allocations: 7.938 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005717/0.3286, allocations: 320.5 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3286, allocations: 8.062 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3286, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3286, allocations: 4 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3288, allocations: 23.92 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3288, allocations: 4 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.329, allocations: 7.984 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3291, allocations: 4 kB / 1.064 GB, free: 12.02 MB / 0.8262 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.0002735/0.3293, allocations: 249.8 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3295, allocations: 78.98 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.3301, allocations: 324.5 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3301, allocations: 4 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3301, allocations: 0 / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3301, allocations: 4 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.3307, allocations: 0.5323 MB / 1.066 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3307, allocations: 3.938 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3309, allocations: 23.98 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3309, allocations: 3.938 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3309, allocations: 4 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3309, allocations: 0 / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3309, allocations: 0 / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.3315, allocations: 410.6 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3318, allocations: 184.1 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.3318, allocations: 96 / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.332, allocations: 15.92 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.3321, allocations: 7.984 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3321, allocations: 0 / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009425/0.3331, allocations: 0.7176 MB / 1.067 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3331, allocations: 4 kB / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003782/0.3334, allocations: 67.94 kB / 1.067 GB, free: 9.32 MB / 0.8262 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.0002329/0.3337, allocations: 111.2 kB / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.3342, allocations: 220 kB / 1.067 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3342, allocations: 0 / 1.067 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3344, allocations: 107.9 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.3349, allocations: 51.23 kB / 1.067 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3369, allocations: 1.384 MB / 1.069 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.3375, allocations: 0.9527 MB / 1.07 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3376, allocations: 39.42 kB / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.3376, allocations: 3.938 kB / 1.07 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.01098/0.3486, allocations: 7.174 MB / 1.077 GB, free: 15.25 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches