Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001972/0.001972, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002145/0.002145, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.929/2.929, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.626e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004762/0.004798, allocations: 2.248 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.006812, allocations: 0.9253 MB / 0.7895 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.006947, allocations: 4 kB / 0.7895 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.007622, allocations: 186.3 kB / 0.7897 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.007793, allocations: 69.78 kB / 0.7897 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.008282, allocations: 116.2 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.008649, allocations: 232.2 kB / 0.7901 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.008852, allocations: 58.05 kB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.009038, allocations: 119.7 kB / 0.7902 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.009179, allocations: 76.75 kB / 0.7903 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.009224, allocations: 16 kB / 0.7903 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.009557, allocations: 151.7 kB / 0.7905 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.009787, allocations: 216.3 kB / 0.7907 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.009972, allocations: 139.4 kB / 0.7908 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.01088, allocations: 0.7122 MB / 0.7915 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01088, allocations: 0.9062 kB / 0.7915 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01088, allocations: 0 / 0.7915 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.01089, allocations: 1.031 kB / 0.7915 GB, free: 7.586 MB / 0.7448 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.00164/0.01253, allocations: 1.065 MB / 0.7925 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.01258, allocations: 13.38 kB / 0.7926 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006047/0.01319, allocations: 123.2 kB / 0.7927 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.01407, allocations: 460.7 kB / 0.7931 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.0141, allocations: 8.375 kB / 0.7931 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.01413, allocations: 16.31 kB / 0.7931 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.01448, allocations: 127.8 kB / 0.7933 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01449, allocations: 192 / 0.7933 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.01452, allocations: 8.375 kB / 0.7933 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.01452, allocations: 384 / 0.7933 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.01487, allocations: 109 kB / 0.7934 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.01639, allocations: 0.7971 MB / 0.7942 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.01692, allocations: 137.2 kB / 0.7943 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.01707, allocations: 53.42 kB / 0.7943 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.01781, allocations: 156.8 kB / 0.7945 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.01785, allocations: 33.39 kB / 0.7945 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.01785, allocations: 0 / 0.7945 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0006663/0.01851, allocations: 223.2 kB / 0.7947 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.01857, allocations: 55.41 kB / 0.7948 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.02015, allocations: 0.9649 MB / 0.7957 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.02018, allocations: 25.7 kB / 0.7957 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.02069, allocations: 464 kB / 0.7962 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.02073, allocations: 31.7 kB / 0.7962 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.02081, allocations: 35.36 kB / 0.7963 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002932/0.0211, allocations: 496.3 kB / 0.7967 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.02125, allocations: 35.97 kB / 0.7968 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.02142, allocations: 66.98 kB / 0.7968 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.02171, allocations: 99.91 kB / 0.7969 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02172, allocations: 0 / 0.7969 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004582/0.02217, allocations: 202.1 kB / 0.7971 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.02219, allocations: 7.938 kB / 0.7971 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.0222, allocations: 4 kB / 0.7971 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.02222, allocations: 3.938 kB / 0.7971 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.02237, allocations: 19.98 kB / 0.7971 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.02238, allocations: 7.984 kB / 0.7972 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.02252, allocations: 8 kB / 0.7972 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.02254, allocations: 4 kB / 0.7972 GB, free: 1.586 MB / 0.7448 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.0001885/0.02273, allocations: 180.6 kB / 0.7973 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.02285, allocations: 75.48 kB / 0.7974 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.02335, allocations: 192.6 kB / 0.7976 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.02336, allocations: 3.938 kB / 0.7976 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.02336, allocations: 0 / 0.7976 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.02337, allocations: 4 kB / 0.7976 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.02408, allocations: 0.5042 MB / 0.7981 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.02409, allocations: 4 kB / 0.7981 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.02422, allocations: 19.98 kB / 0.7981 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02422, allocations: 0 / 0.7981 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.02424, allocations: 4 kB / 0.7981 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.02424, allocations: 4 kB / 0.7981 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.02425, allocations: 11.92 kB / 0.7981 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.02477, allocations: 335.3 kB / 0.7985 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.02502, allocations: 99.48 kB / 0.7986 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.02507, allocations: 0 / 0.7986 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.02522, allocations: 4 kB / 0.7986 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.02527, allocations: 11.92 kB / 0.7986 GB, free: 72 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.02528, allocations: 4 kB / 0.7986 GB, free: 68 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00084/0.02612, allocations: 0.5887 MB / 0.7991 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.02612, allocations: 0 / 0.7991 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003718/0.02649, allocations: 67.89 kB / 0.7992 GB, free: 15.42 MB / 0.7605 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.000238/0.02673, allocations: 119.1 kB / 0.7993 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.0271, allocations: 96.23 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0271, allocations: 128 / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.02726, allocations: 63.78 kB / 0.7995 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.0277, allocations: 55.3 kB / 0.7995 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.03017, allocations: 0.988 MB / 0.8005 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.03069, allocations: 338.1 kB / 0.8008 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.03089, allocations: 61.34 kB / 0.8009 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.031, allocations: 40.42 kB / 0.8009 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.031, allocations: 0 / 0.8009 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.01292/0.04392, allocations: 4.552 MB / 0.8054 GB, free: 9.074 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.527326651033945]