Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 496.2 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.91 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004283/1.131, allocations: 2.076 MB / 1.307 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002948/1.133, allocations: 1.382 MB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/1.134, allocations: 4 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009332/1.135, allocations: 255.4 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/1.136, allocations: 436.1 kB / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.42e-05/1.136, allocations: 0 / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006918/1.137, allocations: 392.7 kB / 1.31 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/1.137, allocations: 14.91 kB / 1.31 GB, free: 30.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/1.137, allocations: 149.5 kB / 1.31 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004488/1.138, allocations: 213 kB / 1.31 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-05/1.138, allocations: 23.12 kB / 1.31 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/1.139, allocations: 275.6 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/1.139, allocations: 368.8 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000659/1.14, allocations: 303.9 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/1.141, allocations: 0.8506 MB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.141, allocations: 6.531 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.745e-06/1.141, allocations: 0 / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.029e-05/1.141, allocations: 4 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.002263/1.144, allocations: 0.9695 MB / 1.313 GB, free: 28.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.319e-05/1.144, allocations: 9.156 kB / 1.313 GB, free: 28.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/1.145, allocations: 126.8 kB / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/1.146, allocations: 0.9176 MB / 1.314 GB, free: 28.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/1.146, allocations: 14.22 kB / 1.314 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/1.146, allocations: 17.22 kB / 1.314 GB, free: 28.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.147, allocations: 0.6323 MB / 1.315 GB, free: 28.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.147, allocations: 2.938 kB / 1.315 GB, free: 28.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/1.147, allocations: 4 kB / 1.315 GB, free: 28.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.147, allocations: 2.75 kB / 1.315 GB, free: 28.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.149, allocations: 1.114 MB / 1.316 GB, free: 27.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/1.152, allocations: 2.05 MB / 1.318 GB, free: 27.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009585/1.153, allocations: 343.7 kB / 1.318 GB, free: 27.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/1.153, allocations: 220.8 kB / 1.318 GB, free: 27.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/1.154, allocations: 28.06 kB / 1.318 GB, free: 27.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.154, allocations: 40.67 kB / 1.318 GB, free: 26.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.454e-06/1.154, allocations: 7.938 kB / 1.318 GB, free: 26.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001478/1.155, allocations: 0.6933 MB / 1.319 GB, free: 26.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/1.155, allocations: 58.12 kB / 1.319 GB, free: 26.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/1.159, allocations: 2.069 MB / 1.321 GB, free: 25.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.159, allocations: 26.83 kB / 1.321 GB, free: 25.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/1.159, allocations: 334.6 kB / 1.321 GB, free: 25.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/1.159, allocations: 65.36 kB / 1.321 GB, free: 25.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.159, allocations: 59.23 kB / 1.322 GB, free: 25.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/1.159, allocations: 315.6 kB / 1.322 GB, free: 25.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/1.16, allocations: 0.5301 MB / 1.322 GB, free: 25.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/1.161, allocations: 0.5595 MB / 1.323 GB, free: 25.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.163, allocations: 0.7655 MB / 1.324 GB, free: 24.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.163, allocations: 0 / 1.324 GB, free: 24.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002694/1.165, allocations: 1.214 MB / 1.325 GB, free: 24.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.165, allocations: 6.031 kB / 1.325 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.165, allocations: 3.188 kB / 1.325 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.165, allocations: 1.656 kB / 1.325 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/1.166, allocations: 63.53 kB / 1.325 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.166, allocations: 5.75 kB / 1.325 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/1.166, allocations: 45.2 kB / 1.325 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/1.166, allocations: 8.969 kB / 1.325 GB, free: 24.41 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0003268/1.167, allocations: 270.2 kB / 1.325 GB, free: 24.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.167, allocations: 73.72 kB / 1.325 GB, free: 24.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.168, allocations: 0.5462 MB / 1.326 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.168, allocations: 2.938 kB / 1.326 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.168, allocations: 0 / 1.326 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.168, allocations: 1.469 kB / 1.326 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/1.171, allocations: 2.582 MB / 1.328 GB, free: 22.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.171, allocations: 11.83 kB / 1.328 GB, free: 22.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/1.171, allocations: 50.33 kB / 1.328 GB, free: 22.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/1.171, allocations: 10.16 kB / 1.328 GB, free: 22.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.171, allocations: 6.281 kB / 1.328 GB, free: 22.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.172, allocations: 6.531 kB / 1.328 GB, free: 22.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.172, allocations: 8.906 kB / 1.328 GB, free: 22.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/1.172, allocations: 0.667 MB / 1.329 GB, free: 22.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/1.173, allocations: 166.1 kB / 1.329 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.173, allocations: 6.406 kB / 1.329 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/1.173, allocations: 21.38 kB / 1.329 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/1.173, allocations: 26.12 kB / 1.329 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/1.173, allocations: 12.97 kB / 1.329 GB, free: 22.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00176/1.175, allocations: 1.593 MB / 1.331 GB, free: 21.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.175, allocations: 0 / 1.331 GB, free: 21.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007278/1.176, allocations: 169 kB / 1.331 GB, free: 21.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0003688/1.176, allocations: 168.3 kB / 1.331 GB, free: 21.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001059/1.177, allocations: 0.7695 MB / 1.332 GB, free: 21.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.177, allocations: 1.469 kB / 1.332 GB, free: 21.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/1.177, allocations: 220.4 kB / 1.332 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/1.178, allocations: 182 kB / 1.332 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.181, allocations: 1.623 MB / 1.334 GB, free: 20.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/1.182, allocations: 1.001 MB / 1.335 GB, free: 19.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004473/1.182, allocations: 88.64 kB / 1.335 GB, free: 19.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.182, allocations: 45.08 kB / 1.335 GB, free: 19.71 MB / 1.061 GB Notification: Performance of SimCode: time 7.91e-07/1.182, allocations: 0 / 1.335 GB, free: 19.71 MB / 1.061 GB Notification: Performance of Templates: time 0.02892/1.211, allocations: 10.57 MB / 1.345 GB, free: 18.91 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: 9.977158917114139]