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.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.0008927/0.0008927, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001957, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006865/0.0006865, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008974/0.001584, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9348/0.9348, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0918/1.027, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.341/2.341, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.264/2.605, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.699e-06/1.141e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002527/0.002539, allocations: 2.32 MB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003641, allocations: 0.9404 MB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.665e-05/0.003738, allocations: 4 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.004146, allocations: 183 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004252, allocations: 75.38 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.004537, allocations: 99.73 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.004775, allocations: 235 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.004925, allocations: 71.94 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.005133, allocations: 186.7 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.00521, allocations: 63.75 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.005236, allocations: 16 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.005522, allocations: 147.8 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.005676, allocations: 207.4 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.005769, allocations: 103.6 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.006164, allocations: 442 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.00618, allocations: 4 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00618, allocations: 0 / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.006198, allocations: 0 / 0.8233 GB, free: 13.81 MB / 0.8073 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.001004/0.007202, allocations: 0.9677 MB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.007234, allocations: 8.625 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.007546, allocations: 173.8 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.007844, allocations: 382.1 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.007864, allocations: 12.38 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.007888, allocations: 12.38 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.008094, allocations: 121.6 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.008104, allocations: 4.188 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.008118, allocations: 4.375 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.008124, allocations: 4.375 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.886e-05/0.008183, allocations: 31.92 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.008692, allocations: 393.4 kB / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.008864, allocations: 128 kB / 0.8254 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.008891, allocations: 16.86 kB / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.009167, allocations: 143.9 kB / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.009188, allocations: 38.5 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.009189, allocations: 0 / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001787/0.009368, allocations: 109.6 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.009396, allocations: 51.41 kB / 0.8258 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.009791, allocations: 0.6443 MB / 0.8264 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.009803, allocations: 29.7 kB / 0.8264 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.009912, allocations: 210 kB / 0.8266 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.00993, allocations: 31.7 kB / 0.8267 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.009966, allocations: 29.69 kB / 0.8267 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.01003, allocations: 306 kB / 0.827 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.01006, allocations: 18.81 kB / 0.827 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.01009, allocations: 30.56 kB / 0.827 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.01015, allocations: 57.31 kB / 0.8271 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01015, allocations: 0 / 0.8271 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001171/0.01026, allocations: 116.3 kB / 0.8272 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01028, allocations: 4 kB / 0.8272 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.01028, allocations: 4 kB / 0.8272 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.01029, allocations: 0 / 0.8272 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.01038, allocations: 28.05 kB / 0.8272 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01039, allocations: 7.922 kB / 0.8272 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.01044, allocations: 7.938 kB / 0.8272 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.01045, allocations: 4 kB / 0.8272 GB, free: 9.523 MB / 0.8073 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 8.055e-05/0.01053, allocations: 116.6 kB / 0.8274 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.01057, allocations: 39.95 kB / 0.8274 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.01073, allocations: 140.6 kB / 0.8275 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01073, allocations: 0 / 0.8275 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01073, allocations: 4 kB / 0.8275 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01074, allocations: 7.875 kB / 0.8275 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.01095, allocations: 249.5 kB / 0.8278 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01095, allocations: 4 kB / 0.8278 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.01101, allocations: 19.98 kB / 0.8278 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.0111, allocations: 95.38 kB / 0.8279 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.0111, allocations: 0 / 0.8279 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.0111, allocations: 0 / 0.8279 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.01111, allocations: 0 / 0.8279 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01111, allocations: 0 / 0.8279 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.01125, allocations: 254.6 kB / 0.8281 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01127, allocations: 12 kB / 0.8281 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.01134, allocations: 0 / 0.8281 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.01137, allocations: 11.98 kB / 0.8282 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.01137, allocations: 3.984 kB / 0.8282 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002309/0.0116, allocations: 336.5 kB / 0.8285 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0116, allocations: 0 / 0.8285 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001927/0.0118, allocations: 67.89 kB / 0.8285 GB, free: 8.137 MB / 0.8073 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.0001129/0.01191, allocations: 88.36 kB / 0.8286 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.88e-05/0.01201, allocations: 56.75 kB / 0.8287 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.01202, allocations: 12 kB / 0.8287 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.01205, allocations: 28.78 kB / 0.8287 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01228, allocations: 75.3 kB / 0.8288 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.01437, allocations: 0.9803 MB / 0.8297 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.01448, allocations: 181 kB / 0.8299 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.01459, allocations: 65.33 kB / 0.83 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.01469, allocations: 95.38 kB / 0.8301 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of SimCode: time 1.203e-06/0.01469, allocations: 0 / 0.8301 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of Templates: time 0.02625/0.04095, allocations: 4.843 MB / 0.8348 GB, free: 1.738 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.ref.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.189979541115463]