Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001314/0.001314, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.001001/0.001001, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.019/1.019, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.601/2.601, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.397e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005041/0.005085, allocations: 2.496 MB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.006701, allocations: 0.5237 MB / 0.8927 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.006938, allocations: 7.938 kB / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.007469, allocations: 120.4 kB / 0.8928 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.007737, allocations: 91.22 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.007945, allocations: 55.81 kB / 0.893 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.008362, allocations: 246.6 kB / 0.8932 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.008595, allocations: 79.64 kB / 0.8933 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.008896, allocations: 135.7 kB / 0.8934 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.009069, allocations: 67.75 kB / 0.8935 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.009114, allocations: 16 kB / 0.8935 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.009163, allocations: 20 kB / 0.8935 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.009264, allocations: 79.69 kB / 0.8936 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.009362, allocations: 83.72 kB / 0.8937 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.009731, allocations: 211.1 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.009735, allocations: 0 / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.009736, allocations: 0 / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.009747, allocations: 3.938 kB / 0.8939 GB, free: 5.516 MB / 0.8542 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.0009891/0.01074, allocations: 0.6855 MB / 0.8945 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.0108, allocations: 12.62 kB / 0.8946 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.0109, allocations: 52.66 kB / 0.8946 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.01121, allocations: 246.8 kB / 0.8948 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.01125, allocations: 12.38 kB / 0.8949 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.01128, allocations: 16.38 kB / 0.8949 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.01154, allocations: 111 kB / 0.895 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01155, allocations: 192 / 0.895 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.01157, allocations: 12.36 kB / 0.895 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01158, allocations: 4.375 kB / 0.895 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.708e-05/0.01167, allocations: 39.91 kB / 0.895 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.01246, allocations: 0.4956 MB / 0.8955 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.01264, allocations: 66.97 kB / 0.8956 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.0127, allocations: 31.72 kB / 0.8956 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.01271, allocations: 4 kB / 0.8956 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.01274, allocations: 33.39 kB / 0.8956 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.845e-06/0.01275, allocations: 0 / 0.8956 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0002403/0.01299, allocations: 101.4 kB / 0.8957 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.01303, allocations: 55.39 kB / 0.8958 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.01364, allocations: 434.5 kB / 0.8962 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01365, allocations: 29.7 kB / 0.8962 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.01387, allocations: 286.9 kB / 0.8965 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.0139, allocations: 35.73 kB / 0.8965 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.01396, allocations: 31.36 kB / 0.8966 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.01418, allocations: 0.5313 MB / 0.8971 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.01421, allocations: 8 kB / 0.8971 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.01428, allocations: 50.66 kB / 0.8971 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.01436, allocations: 66.67 kB / 0.8972 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01436, allocations: 0 / 0.8972 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001739/0.01454, allocations: 121.3 kB / 0.8973 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.01456, allocations: 8 kB / 0.8973 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.01457, allocations: 0 / 0.8973 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.01459, allocations: 0 / 0.8973 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01472, allocations: 27.92 kB / 0.8974 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.01473, allocations: 0 / 0.8974 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.0148, allocations: 15.89 kB / 0.8974 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.01481, allocations: 4 kB / 0.8974 GB, free: 1.688 MB / 0.8542 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 (12): * Single equations (assignments): 12 * 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.0001274/0.01494, allocations: 160.7 kB / 0.8975 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.015, allocations: 51.64 kB / 0.8976 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.01506, allocations: 35.28 kB / 0.8976 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01507, allocations: 4 kB / 0.8976 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01507, allocations: 0 / 0.8976 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01507, allocations: 0 / 0.8976 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.01532, allocations: 197.1 kB / 0.8978 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01532, allocations: 0 / 0.8978 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.01542, allocations: 19.92 kB / 0.8978 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01543, allocations: 0 / 0.8978 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01544, allocations: 7.938 kB / 0.8978 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01544, allocations: 0 / 0.8978 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01544, allocations: 4 kB / 0.8978 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01571, allocations: 251.7 kB / 0.8981 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.01577, allocations: 35.77 kB / 0.8981 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.0158, allocations: 3.938 kB / 0.8981 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.01589, allocations: 3.984 kB / 0.8981 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.01592, allocations: 4 kB / 0.8981 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01593, allocations: 4 kB / 0.8981 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001911/0.01612, allocations: 271 kB / 0.8984 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01612, allocations: 0 / 0.8984 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002593/0.01638, allocations: 47.83 kB / 0.8984 GB, free: 0.5547 MB / 0.8542 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 (8): * Single equations (assignments): 8 * 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.0001561/0.01654, allocations: 99.28 kB / 0.8985 GB, free: 456 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.01669, allocations: 51.58 kB / 0.8986 GB, free: 400 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01669, allocations: 0 / 0.8986 GB, free: 400 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.01674, allocations: 24.06 kB / 0.8986 GB, free: 372 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.01712, allocations: 25.8 kB / 0.8986 GB, free: 344 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.01838, allocations: 0.5905 MB / 0.8992 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.01847, allocations: 107.2 kB / 0.8993 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.577e-05/0.01852, allocations: 16.64 kB / 0.8993 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.01861, allocations: 90.19 kB / 0.8994 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/0.01861, allocations: 0 / 0.8994 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.005678/0.02429, allocations: 1.171 MB / 0.9005 GB, free: 14.34 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.909739807713777]