Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.001963/0.001963, allocations: 80.41 kB / 20.23 MB, free: 4.18 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.002405/0.002405, allocations: 161.3 kB / 23.54 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.444e-05, allocations: 7.562 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.003108/0.003142, allocations: 1.26 MB / 0.812 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.005794, allocations: 1.344 MB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.005817, allocations: 1.531 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.00584, allocations: 0 / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009872/0.006827, allocations: 219.1 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.006949, allocations: 33.48 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.007017, allocations: 15.97 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.007057, allocations: 0 / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.007102, allocations: 16.97 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3106/0.3177, allocations: 51.92 MB / 0.8643 GB, free: 15.81 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3178, allocations: 0 / 0.8643 GB, free: 15.81 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.3178, allocations: 0 / 0.8643 GB, free: 15.81 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.3178, allocations: 4 kB / 0.8643 GB, free: 15.81 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.3178, allocations: 0 / 0.8643 GB, free: 15.81 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.318, allocations: 23.91 kB / 0.8644 GB, free: 15.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.318, allocations: 0 / 0.8644 GB, free: 15.79 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.318, allocations: 0 / 0.8644 GB, free: 15.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.318, allocations: 0 / 0.8644 GB, free: 15.79 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003402/0.3183, allocations: 242.4 kB / 0.8646 GB, free: 15.52 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3184, allocations: 12.03 kB / 0.8646 GB, free: 15.51 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.3184, allocations: 88.17 kB / 0.8647 GB, free: 15.42 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3186, allocations: 177.1 kB / 0.8649 GB, free: 15.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3187, allocations: 154.9 kB / 0.865 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.3188, allocations: 158.9 kB / 0.8652 GB, free: 14.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.676e-05/0.3189, allocations: 101.5 kB / 0.8653 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.3189, allocations: 79.41 kB / 0.8653 GB, free: 14.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.3191, allocations: 154.7 kB / 0.8655 GB, free: 14.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-05/0.3192, allocations: 154.6 kB / 0.8656 GB, free: 14.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.3193, allocations: 150.6 kB / 0.8658 GB, free: 14.28 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.3196, allocations: 397.6 kB / 0.8661 GB, free: 13.86 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3198, allocations: 169.1 kB / 0.8663 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.3198, allocations: 84.08 kB / 0.8664 GB, free: 13.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.3199, allocations: 83.28 kB / 0.8665 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.423e-05/0.32, allocations: 105.8 kB / 0.8666 GB, free: 13.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.32, allocations: 0 / 0.8666 GB, free: 13.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.77e-05/0.3201, allocations: 33.69 kB / 0.8666 GB, free: 13.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.3202, allocations: 207.7 kB / 0.8668 GB, free: 13.13 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3203, allocations: 97.86 kB / 0.8669 GB, free: 13.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3204, allocations: 25.7 kB / 0.8669 GB, free: 12.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.3204, allocations: 80.14 kB / 0.867 GB, free: 12.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3204, allocations: 4 kB / 0.867 GB, free: 12.91 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.3205, allocations: 17.7 kB / 0.867 GB, free: 12.88 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3206, allocations: 318.8 kB / 0.8673 GB, free: 12.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.3207, allocations: 3.938 kB / 0.8673 GB, free: 12.56 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.3207, allocations: 95.69 kB / 0.8674 GB, free: 12.44 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.3208, allocations: 75.28 kB / 0.8675 GB, free: 12.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-05/0.3208, allocations: 75.28 kB / 0.8676 GB, free: 12.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.602e-05/0.3209, allocations: 33.69 kB / 0.8676 GB, free: 12.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.321, allocations: 79.28 kB / 0.8677 GB, free: 12.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/0.321, allocations: 83.22 kB / 0.8677 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.3211, allocations: 150.6 kB / 0.8679 GB, free: 11.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.3212, allocations: 83.22 kB / 0.868 GB, free: 11.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002067/0.3214, allocations: 162.5 kB / 0.8681 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3215, allocations: 83.31 kB / 0.8682 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.3216, allocations: 83.22 kB / 0.8683 GB, free: 11.54 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0001748/0.3218, allocations: 256.4 kB / 0.8685 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3218, allocations: 105 kB / 0.8686 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.3219, allocations: 108.4 kB / 0.8687 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.322, allocations: 192.1 kB / 0.8689 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/0.3221, allocations: 180.2 kB / 0.8691 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/0.3222, allocations: 188.2 kB / 0.8693 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.3225, allocations: 356.9 kB / 0.8696 GB, free: 10.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-05/0.3226, allocations: 112.9 kB / 0.8697 GB, free: 9.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.3227, allocations: 101 kB / 0.8698 GB, free: 9.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.752e-05/0.3227, allocations: 176.3 kB / 0.87 GB, free: 9.695 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.3229, allocations: 184.2 kB / 0.8702 GB, free: 9.508 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000109/0.323, allocations: 176.3 kB / 0.8703 GB, free: 9.328 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001036/0.3231, allocations: 184.2 kB / 0.8705 GB, free: 9.141 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3233, allocations: 307.8 kB / 0.8708 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.3233, allocations: 109.3 kB / 0.8709 GB, free: 8.703 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3235, allocations: 184.2 kB / 0.8711 GB, free: 8.516 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3236, allocations: 112.9 kB / 0.8712 GB, free: 8.398 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3237, allocations: 184.2 kB / 0.8714 GB, free: 8.211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-05/0.3238, allocations: 105 kB / 0.8715 GB, free: 8.102 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.3239, allocations: 83.27 kB / 0.8715 GB, free: 8.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3239, allocations: 0 / 0.8715 GB, free: 8.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002964/0.3242, allocations: 7.938 kB / 0.8715 GB, free: 8.012 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0003315/0.3245, allocations: 166.5 kB / 0.8717 GB, free: 7.84 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.773e-05/0.3246, allocations: 8 kB / 0.8717 GB, free: 7.832 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3246, allocations: 0 / 0.8717 GB, free: 7.832 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3246, allocations: 4 kB / 0.8717 GB, free: 7.828 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.3251, allocations: 455.7 kB / 0.8721 GB, free: 7.379 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.3254, allocations: 172.1 kB / 0.8723 GB, free: 7.184 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.3254, allocations: 55.22 kB / 0.8724 GB, free: 7.109 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.3255, allocations: 7.938 kB / 0.8724 GB, free: 7.102 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.3255, allocations: 8.5 kB / 0.8724 GB, free: 7.094 MB / 0.823 GB Notification: Performance of SimCode: time 3.81e-07/0.3255, allocations: 0 / 0.8724 GB, free: 7.094 MB / 0.823 GB Notification: Performance of Templates: time 0.003064/0.3285, allocations: 0.5656 MB / 0.8729 GB, free: 6.531 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.25877005700022]