Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.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.001472/0.001472, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001905/0.001905, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 178] 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 3.364/3.364, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] 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.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|casTem.TCas",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature") translateModel(Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|casTem.TCas",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.121e-05, allocations: 3.516 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature): time 0.004887/0.004928, allocations: 1.682 MB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.007845, allocations: 1.037 MB / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.007989, allocations: 0 / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.009336, allocations: 144.5 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.009864, allocations: 124.7 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.27e-05/0.009947, allocations: 15.98 kB / 0.8806 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.0103, allocations: 123.5 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.01043, allocations: 17.73 kB / 0.8807 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.01064, allocations: 63.81 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.01084, allocations: 55.86 kB / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.01088, allocations: 8 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.01199, allocations: 354 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.01224, allocations: 83.8 kB / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.01242, allocations: 59.89 kB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.01346, allocations: 454.6 kB / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01346, allocations: 0 / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01346, allocations: 0 / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.01347, allocations: 0 / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001385/0.01486, allocations: 479 kB / 0.8822 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.01491, allocations: 8.031 kB / 0.8822 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.01731, allocations: 287.8 kB / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.01849, allocations: 408.7 kB / 0.8828 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.01851, allocations: 12.38 kB / 0.8829 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.01853, allocations: 4.375 kB / 0.8829 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.01889, allocations: 90.19 kB / 0.8829 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.0189, allocations: 4.125 kB / 0.8829 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.01892, allocations: 384 / 0.8829 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01894, allocations: 3.938 kB / 0.883 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.01938, allocations: 99.84 kB / 0.883 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.02051, allocations: 388.3 kB / 0.8834 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.02106, allocations: 122.4 kB / 0.8835 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.02132, allocations: 56.89 kB / 0.8836 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.02136, allocations: 4 kB / 0.8836 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.02141, allocations: 30.56 kB / 0.8836 GB, free: 232 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.02142, allocations: 0 / 0.8836 GB, free: 232 kB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0009543/0.02237, allocations: 185.4 kB / 0.8838 GB, free: 40 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.02248, allocations: 51.41 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.02375, allocations: 0.5015 MB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.02378, allocations: 29.7 kB / 0.8844 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.02391, allocations: 132 kB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.02394, allocations: 7.953 kB / 0.8845 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.02413, allocations: 57.62 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002391/0.02436, allocations: 326.8 kB / 0.8849 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.02522, allocations: 223.8 kB / 0.8851 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.02609, allocations: 264.9 kB / 0.8853 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.02718, allocations: 300.8 kB / 0.8856 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.02719, allocations: 0 / 0.8856 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001991/0.02918, allocations: 0.5205 MB / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.02921, allocations: 7.938 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.02922, allocations: 4 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.02926, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.02985, allocations: 76 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.02986, allocations: 7.984 kB / 0.8862 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.0309, allocations: 103.8 kB / 0.8863 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.03094, allocations: 7.984 kB / 0.8863 GB, free: 13.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 14 * 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.0001857/0.03113, allocations: 141.8 kB / 0.8865 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.03122, allocations: 23.8 kB / 0.8865 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.03184, allocations: 151.2 kB / 0.8866 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.03184, allocations: 0 / 0.8866 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.03185, allocations: 3.984 kB / 0.8866 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.03186, allocations: 3.984 kB / 0.8866 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.03225, allocations: 177.2 kB / 0.8868 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.03225, allocations: 7.938 kB / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.03241, allocations: 23.91 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.03241, allocations: 0 / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.03243, allocations: 0 / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.03243, allocations: 0 / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03243, allocations: 4 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.03309, allocations: 239.4 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.03327, allocations: 55.77 kB / 0.8871 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.03334, allocations: 3.984 kB / 0.8871 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.03382, allocations: 43.94 kB / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.03388, allocations: 8.109 kB / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.0339, allocations: 8 kB / 0.8872 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009748/0.03487, allocations: 397 kB / 0.8876 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.03487, allocations: 3.938 kB / 0.8876 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006331/0.03551, allocations: 95.86 kB / 0.8877 GB, free: 11.94 MB / 0.8542 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 (5): * Single equations (assignments): 5 * 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.0005895/0.0361, allocations: 157.9 kB / 0.8878 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.03752, allocations: 291.7 kB / 0.8881 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.03753, allocations: 0 / 0.8881 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.03776, allocations: 52.19 kB / 0.8881 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.03844, allocations: 72.56 kB / 0.8882 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.03944, allocations: 353.7 kB / 0.8885 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.03964, allocations: 123.6 kB / 0.8887 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.03984, allocations: 29.64 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.03995, allocations: 24.5 kB / 0.8887 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.263e-06/0.03996, allocations: 0 / 0.8887 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.0151/0.05506, allocations: 5.895 MB / 0.8945 GB, free: 5.027 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.sim & ./Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DataCenterEquipment_Racks_LiquidCooledSinglePhase_BaseClasses_Examples_CaseTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.LiquidCooledSinglePhase.BaseClasses.Examples.CaseTemperature.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.057423765072599]