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.0009694/0.0009694, allocations: 84.44 kB / 19.93 MB, free: 4.609 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.0009857/0.0009857, allocations: 177.9 kB / 23.22 MB, free: 1.324 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 0.9274/0.9274, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 2.38/2.38, allocations: 439.8 MB / 0.6834 GB, free: 12.91 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.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.412e-06/1.412e-06, allocations: 0 / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.646e-05, allocations: 3.406 kB / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.001422/0.001439, allocations: 1.432 MB / 1.084 GB, free: 23.76 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.003919, allocations: 2.888 MB / 1.087 GB, free: 21.91 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.003953, allocations: 0 / 1.087 GB, free: 21.91 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.003987, allocations: 7.359 kB / 1.087 GB, free: 21.9 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.004096, allocations: 27.92 kB / 1.087 GB, free: 21.89 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.005406, allocations: 0.8342 MB / 1.087 GB, free: 21.51 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.005678, allocations: 411.5 kB / 1.088 GB, free: 21.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.005721, allocations: 2.812 kB / 1.088 GB, free: 21.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.005886, allocations: 173.4 kB / 1.088 GB, free: 21.33 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.006075, allocations: 170.2 kB / 1.088 GB, free: 21.29 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.006123, allocations: 25.53 kB / 1.088 GB, free: 21.28 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.007544, allocations: 1.562 MB / 1.09 GB, free: 20.95 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.007638, allocations: 118.4 kB / 1.09 GB, free: 20.9 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.007732, allocations: 105.6 kB / 1.09 GB, free: 20.86 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.008899, allocations: 1.134 MB / 1.091 GB, free: 20.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.008901, allocations: 1.125 kB / 1.091 GB, free: 20.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 7.71e-07/0.008902, allocations: 0 / 1.091 GB, free: 20.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.008909, allocations: 0 / 1.091 GB, free: 20.52 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.000799/0.009708, allocations: 0.6536 MB / 1.092 GB, free: 20.02 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.00975, allocations: 9.469 kB / 1.092 GB, free: 20.02 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.009823, allocations: 21.61 kB / 1.092 GB, free: 20.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.009905, allocations: 136.5 kB / 1.092 GB, free: 19.86 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.00992, allocations: 7.625 kB / 1.092 GB, free: 19.86 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.009946, allocations: 11.06 kB / 1.092 GB, free: 19.85 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.0104, allocations: 0.6244 MB / 1.092 GB, free: 19.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01041, allocations: 9.031 kB / 1.092 GB, free: 19.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.01044, allocations: 6.594 kB / 1.092 GB, free: 19.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01044, allocations: 6.031 kB / 1.093 GB, free: 19.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.01099, allocations: 488.1 kB / 1.093 GB, free: 19.36 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.01124, allocations: 241.9 kB / 1.093 GB, free: 19.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.01174, allocations: 465.8 kB / 1.094 GB, free: 19.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.01197, allocations: 207.3 kB / 1.094 GB, free: 19.05 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.01201, allocations: 13.81 kB / 1.094 GB, free: 19.05 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.01203, allocations: 41.88 kB / 1.094 GB, free: 19 MB / 1.01 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.01203, allocations: 0 / 1.094 GB, free: 19 MB / 1.01 GB Notification: Performance of matching and sorting (n=22): time 0.0009022/0.01293, allocations: 0.6725 MB / 1.095 GB, free: 18.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.01296, allocations: 80.88 kB / 1.095 GB, free: 18.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.01313, allocations: 244.8 kB / 1.095 GB, free: 18.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.01316, allocations: 39.92 kB / 1.095 GB, free: 18.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.01319, allocations: 98.31 kB / 1.095 GB, free: 18.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.01324, allocations: 86.38 kB / 1.095 GB, free: 18.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.01336, allocations: 102.5 kB / 1.095 GB, free: 18.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.01341, allocations: 332.3 kB / 1.095 GB, free: 18.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.01373, allocations: 309.5 kB / 1.096 GB, free: 18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.01405, allocations: 312.2 kB / 1.096 GB, free: 17.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.01471, allocations: 0.6246 MB / 1.097 GB, free: 17.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01471, allocations: 1 kB / 1.097 GB, free: 17.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008152/0.01552, allocations: 0.7312 MB / 1.097 GB, free: 17.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.01554, allocations: 9.281 kB / 1.097 GB, free: 17.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.01557, allocations: 8.766 kB / 1.097 GB, free: 17.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01558, allocations: 5.531 kB / 1.097 GB, free: 17.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.01574, allocations: 56.59 kB / 1.097 GB, free: 17.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01575, allocations: 1.062 kB / 1.097 GB, free: 17.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.01582, allocations: 42.89 kB / 1.098 GB, free: 17.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.01584, allocations: 17.34 kB / 1.098 GB, free: 17.35 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.0001009/0.01595, allocations: 152.2 kB / 1.098 GB, free: 17.22 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.01598, allocations: 21.28 kB / 1.098 GB, free: 17.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008996/0.01688, allocations: 0.7213 MB / 1.098 GB, free: 17.04 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01689, allocations: 3.875 kB / 1.098 GB, free: 17.04 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01689, allocations: 3.938 kB / 1.098 GB, free: 17.03 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.0169, allocations: 3.234 kB / 1.098 GB, free: 17.03 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.01712, allocations: 254.9 kB / 1.099 GB, free: 16.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01712, allocations: 0 / 1.099 GB, free: 16.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.01728, allocations: 64.36 kB / 1.099 GB, free: 16.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01728, allocations: 2.688 kB / 1.099 GB, free: 16.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.01731, allocations: 14.23 kB / 1.099 GB, free: 16.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01731, allocations: 9.188 kB / 1.099 GB, free: 16.84 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01731, allocations: 1.906 kB / 1.099 GB, free: 16.84 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.01798, allocations: 0.582 MB / 1.099 GB, free: 16.68 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.018, allocations: 28.84 kB / 1.099 GB, free: 16.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.01803, allocations: 6.5 kB / 1.099 GB, free: 16.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.01818, allocations: 32.05 kB / 1.099 GB, free: 16.65 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.01822, allocations: 28.92 kB / 1.099 GB, free: 16.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.01825, allocations: 21.72 kB / 1.099 GB, free: 16.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.01834, allocations: 158.2 kB / 1.1 GB, free: 16.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.01834, allocations: 0 / 1.1 GB, free: 16.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003863/0.01872, allocations: 205.8 kB / 1.1 GB, free: 16.5 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.0003462/0.01907, allocations: 258.3 kB / 1.1 GB, free: 16.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007143/0.01978, allocations: 0.6825 MB / 1.101 GB, free: 16.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01979, allocations: 1.25 kB / 1.101 GB, free: 16.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.02008, allocations: 255.5 kB / 1.101 GB, free: 16.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.0203, allocations: 33.88 kB / 1.101 GB, free: 16.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.02108, allocations: 0.6438 MB / 1.102 GB, free: 15.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02119, allocations: 151.2 kB / 1.102 GB, free: 15.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.02132, allocations: 53.88 kB / 1.102 GB, free: 15.67 MB / 1.01 GB Notification: Performance of SimCode: time 5.41e-07/0.02132, allocations: 0 / 1.102 GB, free: 15.67 MB / 1.01 GB Notification: Performance of Templates: time 0.00705/0.02837, allocations: 5.452 MB / 1.107 GB, free: 15.23 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_ExactInverses.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: 7.872822480276227]