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.001799/0.001799, allocations: 88.44 kB / 19.18 MB, free: 0.7383 MB / 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.001962/0.001962, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.597/1.597, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] 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 3.871/3.871, allocations: 440.5 MB / 0.6832 GB, free: 12.65 MB / 0.6511 GB " [Timeout remaining time 176] 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 2.054e-06/2.054e-06, allocations: 0 / 1.083 GB, free: 24 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.288e-05, allocations: 7.172 kB / 1.083 GB, free: 23.99 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.002483/0.002516, allocations: 1.427 MB / 1.084 GB, free: 23 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004158/0.006673, allocations: 2.895 MB / 1.087 GB, free: 21.14 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.006737, allocations: 2.625 kB / 1.087 GB, free: 21.14 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 5.133e-05/0.006788, allocations: 7.312 kB / 1.087 GB, free: 21.13 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.006921, allocations: 28.53 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.009787, allocations: 0.8284 MB / 1.088 GB, free: 20.74 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.01025, allocations: 406.3 kB / 1.088 GB, free: 20.62 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.01031, allocations: 9.875 kB / 1.088 GB, free: 20.62 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.01068, allocations: 176.2 kB / 1.089 GB, free: 20.56 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.01099, allocations: 175 kB / 1.089 GB, free: 20.51 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.01106, allocations: 20.19 kB / 1.089 GB, free: 20.51 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.01384, allocations: 1.555 MB / 1.09 GB, free: 20.19 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.01404, allocations: 119.4 kB / 1.09 GB, free: 20.14 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.01425, allocations: 95.39 kB / 1.091 GB, free: 20.11 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.01678, allocations: 1.139 MB / 1.092 GB, free: 19.77 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01679, allocations: 3.938 kB / 1.092 GB, free: 19.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.124e-06/0.01679, allocations: 1.156 kB / 1.092 GB, free: 19.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.0168, allocations: 4 kB / 1.092 GB, free: 19.76 MB / 1.01 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.001496/0.0183, allocations: 0.6493 MB / 1.092 GB, free: 19.26 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.01836, allocations: 9.844 kB / 1.092 GB, free: 19.26 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.01851, allocations: 22.23 kB / 1.092 GB, free: 19.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.01864, allocations: 135.4 kB / 1.092 GB, free: 19.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.01866, allocations: 7.812 kB / 1.092 GB, free: 19.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.01871, allocations: 11.5 kB / 1.093 GB, free: 19.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.01948, allocations: 0.6306 MB / 1.093 GB, free: 18.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01949, allocations: 1.375 kB / 1.093 GB, free: 18.63 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.01953, allocations: 6.5 kB / 1.093 GB, free: 18.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.01954, allocations: 6.812 kB / 1.093 GB, free: 18.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.02042, allocations: 486.1 kB / 1.094 GB, free: 18.6 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.02086, allocations: 244.2 kB / 1.094 GB, free: 18.42 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.02162, allocations: 465.6 kB / 1.094 GB, free: 18.32 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.02195, allocations: 209.9 kB / 1.094 GB, free: 18.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.022, allocations: 14.2 kB / 1.094 GB, free: 18.28 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.02204, allocations: 46.14 kB / 1.095 GB, free: 18.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.02204, allocations: 4 kB / 1.095 GB, free: 18.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=22): time 0.001471/0.02351, allocations: 0.6703 MB / 1.095 GB, free: 18.13 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.02357, allocations: 80.83 kB / 1.095 GB, free: 18.04 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.02389, allocations: 247.5 kB / 1.096 GB, free: 17.88 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.02394, allocations: 33.19 kB / 1.096 GB, free: 17.85 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.02401, allocations: 110 kB / 1.096 GB, free: 17.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.02409, allocations: 77.56 kB / 1.096 GB, free: 17.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.02436, allocations: 104.5 kB / 1.096 GB, free: 17.65 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.02444, allocations: 332.4 kB / 1.096 GB, free: 17.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.02496, allocations: 304 kB / 1.096 GB, free: 17.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.0255, allocations: 309.7 kB / 1.097 GB, free: 17.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.02654, allocations: 0.6315 MB / 1.097 GB, free: 16.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.02654, allocations: 5.062 kB / 1.097 GB, free: 16.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001297/0.02784, allocations: 0.7314 MB / 1.098 GB, free: 16.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.02786, allocations: 5.031 kB / 1.098 GB, free: 16.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/0.0279, allocations: 9.266 kB / 1.098 GB, free: 16.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.02792, allocations: 6.125 kB / 1.098 GB, free: 16.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.02822, allocations: 55.14 kB / 1.098 GB, free: 16.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.02823, allocations: 1.984 kB / 1.098 GB, free: 16.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.02838, allocations: 46.92 kB / 1.098 GB, free: 16.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.02843, allocations: 16.52 kB / 1.098 GB, free: 16.57 MB / 1.01 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 0.0001816/0.02862, allocations: 155.9 kB / 1.098 GB, free: 16.45 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.02869, allocations: 16.41 kB / 1.098 GB, free: 16.44 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.03017, allocations: 0.7195 MB / 1.099 GB, free: 16.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.03018, allocations: 7.812 kB / 1.099 GB, free: 16.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.03019, allocations: 1.25 kB / 1.099 GB, free: 16.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.0302, allocations: 2.625 kB / 1.099 GB, free: 16.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.03057, allocations: 255 kB / 1.099 GB, free: 16.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.03057, allocations: 0 / 1.099 GB, free: 16.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.03083, allocations: 67.84 kB / 1.099 GB, free: 16.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.03083, allocations: 6.656 kB / 1.099 GB, free: 16.08 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.03087, allocations: 13.56 kB / 1.099 GB, free: 16.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.03088, allocations: 6.531 kB / 1.099 GB, free: 16.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.03088, allocations: 0.5156 kB / 1.099 GB, free: 16.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.0319, allocations: 0.5766 MB / 1.1 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.03195, allocations: 29.34 kB / 1.1 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.03201, allocations: 5.969 kB / 1.1 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.03227, allocations: 32.41 kB / 1.1 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.03238, allocations: 33.36 kB / 1.1 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.03243, allocations: 20.75 kB / 1.1 GB, free: 15.87 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001612/0.03259, allocations: 158.8 kB / 1.1 GB, free: 15.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.03259, allocations: 0 / 1.1 GB, free: 15.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006941/0.03328, allocations: 196.8 kB / 1.1 GB, free: 15.73 MB / 1.01 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.000543/0.03382, allocations: 251.6 kB / 1.101 GB, free: 15.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.03497, allocations: 0.6833 MB / 1.101 GB, free: 15.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.03498, allocations: 1.094 kB / 1.101 GB, free: 15.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.03544, allocations: 258.4 kB / 1.102 GB, free: 15.31 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.03582, allocations: 42.06 kB / 1.102 GB, free: 15.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.03702, allocations: 0.6115 MB / 1.102 GB, free: 15.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.03718, allocations: 151.4 kB / 1.102 GB, free: 14.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002927/0.03748, allocations: 154.1 kB / 1.103 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.03764, allocations: 49.81 kB / 1.103 GB, free: 14.92 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.03764, allocations: 0 / 1.103 GB, free: 14.92 MB / 1.01 GB Notification: Performance of Templates: time 0.01496/0.0526, allocations: 6.947 MB / 1.109 GB, free: 14.27 MB / 1.01 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 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > 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: 10.295069442130625]