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.001926/0.001926, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.002545/0.002545, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.463/2.463, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 62.53 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004191/0.3496, allocations: 2.275 MB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3516, allocations: 0.9409 MB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3518, allocations: 0 / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.3526, allocations: 190.9 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3528, allocations: 79.42 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.3532, allocations: 111.7 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.3535, allocations: 219.1 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3537, allocations: 93.61 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3538, allocations: 83.53 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3539, allocations: 99.42 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.354, allocations: 20 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.3543, allocations: 155.8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.3545, allocations: 219.3 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.3547, allocations: 266 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.3555, allocations: 0.7198 MB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3555, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3555, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.3555, allocations: 0 / 1.032 GB, free: 12.59 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.001208/0.3567, allocations: 0.9708 MB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3568, allocations: 12.03 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005257/0.3573, allocations: 115.8 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.3581, allocations: 0.5974 MB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.3581, allocations: 8.375 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3582, allocations: 12.38 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.3586, allocations: 191.2 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3586, allocations: 192 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3586, allocations: 7.938 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3586, allocations: 8 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.3591, allocations: 231.9 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3603, allocations: 0.9099 MB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.3609, allocations: 314.5 kB / 1.035 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3611, allocations: 116.9 kB / 1.035 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.3618, allocations: 236.9 kB / 1.036 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3618, allocations: 34.5 kB / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.3618, allocations: 0 / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0008048/0.3626, allocations: 412.5 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3627, allocations: 51.41 kB / 1.036 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3639, allocations: 0.9974 MB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.3639, allocations: 25.7 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.3642, allocations: 351.9 kB / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3642, allocations: 27.64 kB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.3643, allocations: 29.61 kB / 1.038 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3644, allocations: 310 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3646, allocations: 95.95 kB / 1.038 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3648, allocations: 118.5 kB / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.3652, allocations: 222.4 kB / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3652, allocations: 0 / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005179/0.3657, allocations: 320.5 kB / 1.039 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3658, allocations: 8 kB / 1.039 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3658, allocations: 64 / 1.039 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3658, allocations: 4 kB / 1.039 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.366, allocations: 27.97 kB / 1.039 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.366, allocations: 0 / 1.039 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3662, allocations: 8.469 kB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3662, allocations: 4 kB / 1.039 GB, free: 5.609 MB / 0.8106 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.0002564/0.3664, allocations: 249.7 kB / 1.039 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.3665, allocations: 82.94 kB / 1.039 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.3671, allocations: 332.4 kB / 1.039 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3671, allocations: 4 kB / 1.039 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3671, allocations: 3.938 kB / 1.039 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3672, allocations: 0 / 1.039 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.3677, allocations: 0.5362 MB / 1.04 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3677, allocations: 3.938 kB / 1.04 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3679, allocations: 23.97 kB / 1.04 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3679, allocations: 4 kB / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3679, allocations: 0 / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3679, allocations: 0 / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3679, allocations: 0 / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.3685, allocations: 410.5 kB / 1.04 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.3687, allocations: 180.1 kB / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.3688, allocations: 4 kB / 1.04 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.369, allocations: 4 kB / 1.04 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.369, allocations: 11.98 kB / 1.04 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.369, allocations: 4 kB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008139/0.3698, allocations: 0.7215 MB / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3699, allocations: 0 / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003625/0.3702, allocations: 75.84 kB / 1.041 GB, free: 2.891 MB / 0.8106 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.0001973/0.3704, allocations: 107.2 kB / 1.041 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.3709, allocations: 219.8 kB / 1.041 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3709, allocations: 128 / 1.041 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3711, allocations: 112.3 kB / 1.042 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3715, allocations: 55.38 kB / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3732, allocations: 1.154 MB / 1.043 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.3738, allocations: 0.9454 MB / 1.044 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001965/0.374, allocations: 81.31 kB / 1.044 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.3741, allocations: 35.42 kB / 1.044 GB, free: 132 kB / 0.8106 GB Notification: Performance of SimCode: time 1.183e-06/0.3741, allocations: 0 / 1.044 GB, free: 132 kB / 0.8106 GB Notification: Performance of Templates: time 0.01026/0.3844, allocations: 4.403 MB / 1.048 GB, free: 11.73 MB / 0.8262 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 -s cvode -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