Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.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.001094/0.001094, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002652, allocations: 443.8 kB / 10.3 MB, free: 400 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.001088/0.001088, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002451, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9499/0.9499, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09502/1.045, 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.224/2.224, allocations: 440.5 MB / 0.6684 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2471/2.471, allocations: 143.9 MB / 0.8089 GB, free: 12.42 MB / 0.7917 GB " [Timeout remaining time 178] 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.BaseClasses.FlowModels.Validation.ExactInverses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flowBas|m_flowPow.[0-9,]+.|dpBas|dpPow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flowBas|m_flowPow.[0-9,]+.|dpBas|dpPow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.373e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.001802/0.001826, allocations: 1.503 MB / 0.8116 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.004843, allocations: 3.099 MB / 0.8147 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.004889, allocations: 0 / 0.8147 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.004916, allocations: 7.922 kB / 0.8147 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.00499, allocations: 19.84 kB / 0.8147 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.006601, allocations: 0.7894 MB / 0.8155 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.006935, allocations: 427.5 kB / 0.8159 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.006977, allocations: 8.172 kB / 0.8159 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.007167, allocations: 171.8 kB / 0.816 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.007346, allocations: 179.7 kB / 0.8162 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.007383, allocations: 20 kB / 0.8162 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.009241, allocations: 1.626 MB / 0.8178 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.009329, allocations: 79.86 kB / 0.8179 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.009411, allocations: 59.88 kB / 0.818 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.01067, allocations: 0.9505 MB / 0.8189 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.01068, allocations: 0 / 0.8189 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.61e-07/0.01068, allocations: 4 kB / 0.8189 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.01069, allocations: 0 / 0.8189 GB, free: 2.121 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009152/0.01161, allocations: 0.6926 MB / 0.8196 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01165, allocations: 12.62 kB / 0.8196 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.01171, allocations: 20.91 kB / 0.8196 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.01181, allocations: 141 kB / 0.8197 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01182, allocations: 11.94 kB / 0.8197 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.01185, allocations: 16 kB / 0.8198 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.01215, allocations: 460 kB / 0.8202 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.01216, allocations: 4 kB / 0.8202 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.01218, allocations: 4 kB / 0.8202 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01219, allocations: 11.88 kB / 0.8202 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.01238, allocations: 113.4 kB / 0.8203 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.01259, allocations: 150.1 kB / 0.8205 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.01278, allocations: 148.8 kB / 0.8206 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.01285, allocations: 53.83 kB / 0.8207 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.01288, allocations: 16 kB / 0.8207 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01291, allocations: 38.56 kB / 0.8207 GB, free: 56 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.01291, allocations: 0 / 0.8207 GB, free: 56 kB / 0.7917 GB Notification: Performance of matching and sorting (n=22): time 0.0003102/0.01322, allocations: 137.5 kB / 0.8208 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.01325, allocations: 85.05 kB / 0.8209 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.01337, allocations: 219 kB / 0.8211 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.0134, allocations: 29.7 kB / 0.8212 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.01343, allocations: 101 kB / 0.8213 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.01349, allocations: 79.33 kB / 0.8213 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.01357, allocations: 85.59 kB / 0.8214 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.01365, allocations: 338.7 kB / 0.8217 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.01375, allocations: 87.31 kB / 0.8218 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.01384, allocations: 90.41 kB / 0.8219 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.01406, allocations: 242.2 kB / 0.8221 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01406, allocations: 0 / 0.8221 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000272/0.01433, allocations: 264.6 kB / 0.8224 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01435, allocations: 4 kB / 0.8224 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.01437, allocations: 7.984 kB / 0.8224 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.01438, allocations: 4 kB / 0.8224 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01456, allocations: 63.88 kB / 0.8225 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01457, allocations: 11.94 kB / 0.8225 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.01469, allocations: 35.56 kB / 0.8225 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.01471, allocations: 8 kB / 0.8225 GB, free: 14.12 MB / 0.8073 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 9.521e-05/0.01481, allocations: 128.6 kB / 0.8226 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.01484, allocations: 15.98 kB / 0.8227 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.01525, allocations: 281.7 kB / 0.8229 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01526, allocations: 7.938 kB / 0.8229 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01526, allocations: 3.938 kB / 0.8229 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01527, allocations: 7.984 kB / 0.8229 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.01544, allocations: 165.7 kB / 0.8231 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01544, allocations: 0 / 0.8231 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.01561, allocations: 75.89 kB / 0.8232 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01561, allocations: 4 kB / 0.8232 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01562, allocations: 7.938 kB / 0.8232 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.01563, allocations: 4 kB / 0.8232 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01563, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01586, allocations: 194.5 kB / 0.8234 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.01588, allocations: 27.75 kB / 0.8234 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01591, allocations: 12 kB / 0.8234 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.016, allocations: 31.92 kB / 0.8234 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.01604, allocations: 19.95 kB / 0.8235 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.01606, allocations: 8 kB / 0.8235 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.01611, allocations: 66.17 kB / 0.8235 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01611, allocations: 0 / 0.8235 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00038/0.01649, allocations: 203.4 kB / 0.8237 GB, free: 12.83 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (34): * Single equations (assignments): 34 * 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.000348/0.01683, allocations: 247.7 kB / 0.824 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.01715, allocations: 313.7 kB / 0.8243 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.01716, allocations: 8 kB / 0.8243 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.01725, allocations: 80.97 kB / 0.8244 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01745, allocations: 55.97 kB / 0.8244 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.01799, allocations: 451.7 kB / 0.8248 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.01808, allocations: 145.9 kB / 0.825 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.01833, allocations: 139.3 kB / 0.8251 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.01833, allocations: 0 / 0.8251 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.005665/0.024, allocations: 5.404 MB / 0.8304 GB, free: 5.949 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.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.827202560380101]