Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001475/0.001475, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001841/0.001841, allocations: 165 kB / 23.82 MB, free: 0.75 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.9422/0.9422, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.8115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.789e-05, allocations: 6.25 kB / 0.8115 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00308/0.003118, allocations: 1.35 MB / 0.8129 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.0042, allocations: 0.5678 MB / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.004239, allocations: 2.406 kB / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.004269, allocations: 0 / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-05/0.004345, allocations: 3.938 kB / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.005122, allocations: 147.2 kB / 0.8136 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.005212, allocations: 24.89 kB / 0.8136 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.005265, allocations: 0 / 0.8136 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.005319, allocations: 16.89 kB / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.005395, allocations: 11.98 kB / 0.8136 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.005416, allocations: 0 / 0.8136 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.005902, allocations: 264.8 kB / 0.8139 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.005924, allocations: 8 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.00595, allocations: 3.938 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.006256, allocations: 163.5 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.006261, allocations: 1.594 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/0.006262, allocations: 0 / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.006269, allocations: 0 / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005058/0.006774, allocations: 385.6 kB / 0.8144 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.006826, allocations: 8.031 kB / 0.8144 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.006886, allocations: 4.938 kB / 0.8144 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.007018, allocations: 116.6 kB / 0.8145 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.007036, allocations: 4.375 kB / 0.8145 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.007049, allocations: 5.266 kB / 0.8145 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.007167, allocations: 38.27 kB / 0.8146 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007177, allocations: 0.7188 kB / 0.8146 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.007193, allocations: 4.953 kB / 0.8146 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.007203, allocations: 384 / 0.8146 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.007252, allocations: 20.39 kB / 0.8146 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.007657, allocations: 257 kB / 0.8148 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.007917, allocations: 47.17 kB / 0.8149 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.007958, allocations: 20.22 kB / 0.8149 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.007979, allocations: 1.375 kB / 0.8149 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.008007, allocations: 33.39 kB / 0.8149 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.008008, allocations: 4 kB / 0.8149 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001941/0.008203, allocations: 57.56 kB / 0.815 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.008245, allocations: 56.55 kB / 0.815 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.008336, allocations: 157.9 kB / 0.8152 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.008348, allocations: 25.7 kB / 0.8152 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.00841, allocations: 131.9 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.008428, allocations: 19.84 kB / 0.8154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.008468, allocations: 23.36 kB / 0.8154 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.008613, allocations: 497 kB / 0.8159 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.008635, allocations: 4 kB / 0.8159 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.008672, allocations: 28.2 kB / 0.8159 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.008734, allocations: 36.59 kB / 0.8159 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.008736, allocations: 0 / 0.8159 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.008845, allocations: 57.62 kB / 0.816 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.008862, allocations: 4.844 kB / 0.816 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.008869, allocations: 3.938 kB / 0.816 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.008887, allocations: 5.156 kB / 0.816 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.008939, allocations: 7.984 kB / 0.816 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.008946, allocations: 4 kB / 0.816 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.008968, allocations: 0 / 0.816 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008975, allocations: 1.5 kB / 0.816 GB, free: 11.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.353e-05/0.009058, allocations: 160.6 kB / 0.8162 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.009086, allocations: 7.953 kB / 0.8162 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.009244, allocations: 70.7 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009247, allocations: 480 / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.009252, allocations: 3.984 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009256, allocations: 2.875 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.009396, allocations: 112.6 kB / 0.8163 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009398, allocations: 0 / 0.8163 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.009433, allocations: 4 kB / 0.8164 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.009437, allocations: 3.984 kB / 0.8164 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.009449, allocations: 7.938 kB / 0.8164 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.009458, allocations: 11.92 kB / 0.8164 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.00946, allocations: 0.5 kB / 0.8164 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.009621, allocations: 195.9 kB / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.00963, allocations: 1.938 kB / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.009643, allocations: 0 / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.009697, allocations: 7.938 kB / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.009716, allocations: 0 / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.00972, allocations: 0 / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.009767, allocations: 132.1 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.009767, allocations: 0 / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002966/0.01006, allocations: 19.88 kB / 0.8167 GB, free: 11.01 MB / 0.7292 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 (4): * Single equations (assignments): 4 * 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.000235/0.0103, allocations: 120.4 kB / 0.8168 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01043, allocations: 30.42 kB / 0.8169 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01043, allocations: 4 kB / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.01045, allocations: 15.62 kB / 0.8169 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.01071, allocations: 7.984 kB / 0.8169 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.01108, allocations: 130.2 kB / 0.817 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.01113, allocations: 54.08 kB / 0.8171 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.01116, allocations: 4 kB / 0.8171 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.01119, allocations: 12.5 kB / 0.8171 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01119, allocations: 0 / 0.8171 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.003416/0.01461, allocations: 0.5703 MB / 0.8176 GB, free: 10.02 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.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: 4.907781471032649]