Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001521/0.001521, allocations: 87.58 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.001858/0.001858, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9385/0.9385, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.797/1.797, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.743e-05, allocations: 10.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002528/0.002555, allocations: 1.348 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003729, allocations: 0.5605 MB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.003761, allocations: 1.156 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.003788, allocations: 0 / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.003845, allocations: 7.938 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.004471, allocations: 145.3 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.431e-05/0.004535, allocations: 23.86 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.004578, allocations: 4 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.004617, allocations: 9.016 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.004673, allocations: 19.91 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.004691, allocations: 4 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.00514, allocations: 260.4 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.005157, allocations: 7.938 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.005182, allocations: 9.078 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.005477, allocations: 163.4 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.005479, allocations: 0 / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00548, allocations: 1.25 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005484, allocations: 0 / 0.7896 GB, free: 9.949 MB / 0.7448 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.0004237/0.005908, allocations: 380 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.00595, allocations: 9.625 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.005993, allocations: 13.22 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.006089, allocations: 104.6 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.006105, allocations: 8.375 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.006117, allocations: 1.688 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.006221, allocations: 42.25 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.006233, allocations: 192 / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.006243, allocations: 384 / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.006252, allocations: 3.312 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.006297, allocations: 15.88 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.006633, allocations: 255.7 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.006846, allocations: 47.17 kB / 0.7904 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.006882, allocations: 19.69 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.006906, allocations: 3.984 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.006935, allocations: 46.09 kB / 0.7905 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.006936, allocations: 3.938 kB / 0.7905 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.007115, allocations: 59.22 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.007149, allocations: 51.41 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.007237, allocations: 157.9 kB / 0.7908 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.007247, allocations: 25.7 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.007307, allocations: 136 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.007321, allocations: 15.89 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.007359, allocations: 19.38 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.007496, allocations: 497.9 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.007517, allocations: 7.984 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.007552, allocations: 23.38 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.007608, allocations: 35.31 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007611, allocations: 1.312 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.007712, allocations: 61.62 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007727, allocations: 5.594 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.007734, allocations: 7.922 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.007753, allocations: 4 kB / 0.7916 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.007806, allocations: 4 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.007812, allocations: 4 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.007835, allocations: 1.719 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.007842, allocations: 0 / 0.7916 GB, free: 7.715 MB / 0.7448 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.189e-05/0.007924, allocations: 160.6 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.007951, allocations: 7.953 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.008119, allocations: 62.11 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008121, allocations: 0.5312 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008125, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008128, allocations: 0.7188 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.008561, allocations: 120.6 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008563, allocations: 0.5312 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.008611, allocations: 9.297 kB / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.008615, allocations: 0 / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.008625, allocations: 8 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.008629, allocations: 4.469 kB / 0.7919 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008631, allocations: 0 / 0.7919 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.008777, allocations: 197.2 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.008787, allocations: 4.469 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.0088, allocations: 4 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.008856, allocations: 7.875 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.008875, allocations: 5.141 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.00888, allocations: 0 / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.008931, allocations: 131.2 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.008931, allocations: 0.8125 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002841/0.009215, allocations: 15.94 kB / 0.7923 GB, free: 6.922 MB / 0.7448 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.0001798/0.009395, allocations: 124 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.009501, allocations: 36.95 kB / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.009503, allocations: 0 / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.009539, allocations: 15.67 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.009802, allocations: 4.875 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.01012, allocations: 128.3 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.01016, allocations: 55.36 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.0102, allocations: 8.906 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.01023, allocations: 15.94 kB / 0.7926 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.01023, allocations: 0 / 0.7926 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of Templates: time 0.002412/0.01264, allocations: 0.5319 MB / 0.7932 GB, free: 5.977 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.274963986128569]