Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001484/0.001484, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001611/0.001611, allocations: 161 kB / 23.82 MB, free: 0.7539 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.141/1.141, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.962/1.962, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.498e-05, allocations: 8.984 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002935/0.00296, allocations: 2.505 MB / 0.7896 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.003695, allocations: 0.54 MB / 0.7901 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.003788, allocations: 5.219 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.00414, allocations: 121 kB / 0.7902 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.004258, allocations: 98.44 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.00438, allocations: 40.98 kB / 0.7903 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.004588, allocations: 254.5 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.004774, allocations: 71.66 kB / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004927, allocations: 125.1 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.005058, allocations: 79.73 kB / 0.7909 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.00509, allocations: 16 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.005119, allocations: 20.72 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.005212, allocations: 91.62 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.005292, allocations: 88.92 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.005526, allocations: 207.1 kB / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005528, allocations: 0 / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005529, allocations: 0 / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.005534, allocations: 0.8438 kB / 0.7913 GB, free: 8.27 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006959/0.00623, allocations: 0.6913 MB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.006274, allocations: 8.031 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.006351, allocations: 60.59 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.006632, allocations: 251.3 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.006663, allocations: 17.06 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.006706, allocations: 12.38 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.006903, allocations: 115.5 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.006917, allocations: 5.312 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.006936, allocations: 12.36 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.006947, allocations: 4.375 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.007053, allocations: 52.19 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.007712, allocations: 0.5639 MB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.007901, allocations: 70.92 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.007955, allocations: 32.72 kB / 0.7931 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.007968, allocations: 4 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.007997, allocations: 33.39 kB / 0.7931 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.007999, allocations: 0.7812 kB / 0.7931 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002238/0.008222, allocations: 122.3 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.008257, allocations: 59.33 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.008548, allocations: 442.7 kB / 0.7937 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.008561, allocations: 26.89 kB / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.008725, allocations: 283 kB / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.008752, allocations: 35.69 kB / 0.7941 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.008792, allocations: 32.22 kB / 0.7941 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.008955, allocations: 0.5313 MB / 0.7946 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.008984, allocations: 18.14 kB / 0.7946 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.009035, allocations: 54.73 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.009114, allocations: 70.69 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.009117, allocations: 2.875 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001367/0.009253, allocations: 133.2 kB / 0.7949 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009267, allocations: 8 kB / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009272, allocations: 0 / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.009291, allocations: 0 / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.009365, allocations: 23.98 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.009373, allocations: 5.5 kB / 0.7949 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.009412, allocations: 7.953 kB / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.009422, allocations: 7.984 kB / 0.7949 GB, free: 4.285 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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 9.402e-05/0.009516, allocations: 169.1 kB / 0.7951 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.00955, allocations: 39.7 kB / 0.7951 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.009607, allocations: 39.83 kB / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009609, allocations: 0.5625 kB / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.009613, allocations: 0 / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.009618, allocations: 1.125 kB / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.009832, allocations: 268.5 kB / 0.7954 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009834, allocations: 0 / 0.7954 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.009899, allocations: 25.02 kB / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009901, allocations: 0 / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.009911, allocations: 0 / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.009911, allocations: 0.6562 kB / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.009914, allocations: 7.938 kB / 0.7955 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.01013, allocations: 268.9 kB / 0.7957 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.01017, allocations: 39.7 kB / 0.7957 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.01019, allocations: 7.766 kB / 0.7958 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.01023, allocations: 0 / 0.7958 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.01028, allocations: 15.92 kB / 0.7958 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.01028, allocations: 0 / 0.7958 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001683/0.01045, allocations: 279.1 kB / 0.796 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01045, allocations: 0 / 0.796 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001761/0.01063, allocations: 47.89 kB / 0.7961 GB, free: 3.051 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 8.528e-05/0.01071, allocations: 103.2 kB / 0.7962 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01083, allocations: 48.55 kB / 0.7962 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01084, allocations: 0 / 0.7962 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.01087, allocations: 36.64 kB / 0.7963 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.01111, allocations: 34.2 kB / 0.7963 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.01209, allocations: 0.5909 MB / 0.7969 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.01216, allocations: 107.8 kB / 0.797 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.0122, allocations: 12.64 kB / 0.797 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.01224, allocations: 16.5 kB / 0.797 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of SimCode: time 1.263e-06/0.01224, allocations: 3.938 kB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.004028/0.01627, allocations: 1.114 MB / 0.7981 GB, free: 0.957 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.765156846027821]