Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.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.002152/0.002152, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002338/0.002338, allocations: 164.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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.02/3.02, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") translateModel(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.961e-05, allocations: 6.281 kB / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004241/0.004271, allocations: 2.668 MB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.00759, allocations: 1.748 MB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.007742, allocations: 4 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.009764, allocations: 0.7158 MB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.01015, allocations: 218.4 kB / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.01044, allocations: 127.8 kB / 1.006 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01072/0.02116, allocations: 6.66 MB / 1.012 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.02132, allocations: 25.28 kB / 1.012 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.0217, allocations: 271.2 kB / 1.012 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.022, allocations: 207.3 kB / 1.012 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.02207, allocations: 28 kB / 1.013 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.02261, allocations: 263.6 kB / 1.013 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.02322, allocations: 0.6625 MB / 1.013 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004792/0.0237, allocations: 402.8 kB / 1.014 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.02576, allocations: 1.892 MB / 1.016 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.02576, allocations: 3.984 kB / 1.016 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.02576, allocations: 0 / 1.016 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.02578, allocations: 0 / 1.016 GB, free: 7.332 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002628/0.02841, allocations: 1.831 MB / 1.017 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.02845, allocations: 12.03 kB / 1.017 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.02867, allocations: 175.7 kB / 1.018 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.03082, allocations: 1.462 MB / 1.019 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.03084, allocations: 16.36 kB / 1.019 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.03087, allocations: 8.375 kB / 1.019 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.0313, allocations: 297.4 kB / 1.019 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.03131, allocations: 0 / 1.019 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.03132, allocations: 0 / 1.019 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.03133, allocations: 0 / 1.019 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.03195, allocations: 491.8 kB / 1.02 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.03392, allocations: 1.406 MB / 1.021 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.03449, allocations: 494.2 kB / 1.022 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.0348, allocations: 244.8 kB / 1.022 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.03487, allocations: 27.98 kB / 1.022 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.0349, allocations: 34.56 kB / 1.022 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.0349, allocations: 0 / 1.022 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001279/0.03618, allocations: 0.9183 MB / 1.023 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.03623, allocations: 51.41 kB / 1.023 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.03922, allocations: 2.293 MB / 1.025 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.03925, allocations: 29.61 kB / 1.025 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/0.03994, allocations: 0.689 MB / 1.026 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.03998, allocations: 35.67 kB / 1.026 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.04015, allocations: 117.6 kB / 1.026 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.04034, allocations: 333.9 kB / 1.026 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/0.04114, allocations: 0.6918 MB / 1.027 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/0.04207, allocations: 0.9373 MB / 1.028 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.04364, allocations: 1.452 MB / 1.029 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.04365, allocations: 0 / 1.029 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002071/0.04572, allocations: 1.679 MB / 1.031 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.04574, allocations: 8 kB / 1.031 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.04575, allocations: 0 / 1.031 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.04576, allocations: 4 kB / 1.031 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.046, allocations: 43.95 kB / 1.031 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.04601, allocations: 4 kB / 1.031 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.0466, allocations: 113 kB / 1.031 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.04664, allocations: 16 kB / 1.031 GB, free: 7.148 MB / 0.9825 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 (20): * Single equations (assignments): 12 * Array equations: 8 * 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.0006311/0.04727, allocations: 0.4903 MB / 1.032 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.04746, allocations: 174.8 kB / 1.032 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.04844, allocations: 0.7211 MB / 1.032 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.04845, allocations: 3.938 kB / 1.032 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.04846, allocations: 4 kB / 1.032 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.04846, allocations: 0 / 1.032 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.0495, allocations: 0.8445 MB / 1.033 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.0495, allocations: 384 / 1.033 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.04964, allocations: 27.97 kB / 1.033 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.04964, allocations: 4 kB / 1.033 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.04965, allocations: 0 / 1.033 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.04965, allocations: 3.938 kB / 1.033 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.04965, allocations: 4 kB / 1.033 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/0.05053, allocations: 0.793 MB / 1.034 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.05085, allocations: 202.7 kB / 1.034 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.05099, allocations: 8 kB / 1.034 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.05134, allocations: 19.97 kB / 1.034 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.0514, allocations: 7.984 kB / 1.034 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.05142, allocations: 11.94 kB / 1.034 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002212/0.05363, allocations: 1.614 MB / 1.036 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.05363, allocations: 0 / 1.036 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006465/0.05428, allocations: 211.9 kB / 1.036 GB, free: 1.922 MB / 0.9825 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 (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 Backend phase and start with SimCode phase: time 0.0003668/0.05464, allocations: 171.1 kB / 1.036 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.05585, allocations: 0.969 MB / 1.037 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.05585, allocations: 0 / 1.037 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.0562, allocations: 263.8 kB / 1.038 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/0.06052, allocations: 1.211 MB / 1.039 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.06429, allocations: 2.684 MB / 1.041 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/0.06526, allocations: 0.7714 MB / 1.042 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008338/0.0661, allocations: 277.6 kB / 1.042 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.06631, allocations: 92.48 kB / 1.042 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.06631, allocations: 0 / 1.042 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.06666/0.133, allocations: 37.65 MB / 1.079 GB, free: 6.598 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.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.764371424913406]