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.0009474/0.0009474, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001073/0.001073, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9102/0.9102, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.771/1.771, allocations: 359 MB / 0.6055 GB, free: 10.9 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.553e-06/1.553e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.616e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001503/0.001519, allocations: 1.342 MB / 0.7889 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.002195, allocations: 0.5601 MB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.002221, allocations: 4.875 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.002239, allocations: 0 / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.002283, allocations: 4.906 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.002691, allocations: 143.8 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.002739, allocations: 28.86 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.002771, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.0028, allocations: 12.64 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.002848, allocations: 7.938 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.002858, allocations: 1.531 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.003147, allocations: 271.4 kB / 0.7899 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.00316, allocations: 7.938 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.003174, allocations: 7.984 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.003344, allocations: 160.7 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003346, allocations: 0 / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003346, allocations: 0 / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003349, allocations: 0 / 0.79 GB, free: 9.668 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.0002738/0.003623, allocations: 382.9 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.003656, allocations: 12.03 kB / 0.7904 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.003679, allocations: 9.234 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.743e-05/0.003736, allocations: 112.6 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-06/0.003743, allocations: 384 / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-06/0.003749, allocations: 384 / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.893e-05/0.003808, allocations: 42.25 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-06/0.003812, allocations: 1.5 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-06/0.003817, allocations: 384 / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.003821, allocations: 384 / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.003849, allocations: 16.41 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.004058, allocations: 245.1 kB / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.004174, allocations: 47.64 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.004191, allocations: 17.27 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.004214, allocations: 7.938 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.004233, allocations: 45.39 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.004233, allocations: 0 / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 9.885e-05/0.004332, allocations: 53.56 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.004354, allocations: 52.03 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.004411, allocations: 162.6 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.004421, allocations: 29.7 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.004461, allocations: 131.5 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.004469, allocations: 11.91 kB / 0.7913 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.004494, allocations: 28.2 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.004586, allocations: 496.1 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.004594, allocations: 5.375 kB / 0.7919 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.004615, allocations: 27.3 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.004644, allocations: 31.38 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004645, allocations: 1.812 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.738e-05/0.004693, allocations: 49.62 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.004703, allocations: 4 kB / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.004708, allocations: 4 kB / 0.792 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.004716, allocations: 5.719 kB / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.646e-05/0.004743, allocations: 8 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.004747, allocations: 3.984 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.00476, allocations: 4 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.004763, allocations: 4 kB / 0.792 GB, free: 7.461 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 6.395e-05/0.004827, allocations: 153.4 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.00484, allocations: 10.27 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.004917, allocations: 57.31 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.004921, allocations: 3.938 kB / 0.7922 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.004922, allocations: 0 / 0.7922 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.004925, allocations: 3.984 kB / 0.7922 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.362e-05/0.005009, allocations: 101.2 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.005009, allocations: 2.031 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.005024, allocations: 8 kB / 0.7923 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005025, allocations: 0 / 0.7923 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.00503, allocations: 4.469 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005031, allocations: 0 / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005031, allocations: 0.5 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.079e-05/0.005112, allocations: 199.8 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.005119, allocations: 12.44 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-06/0.005127, allocations: 5.875 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.00515, allocations: 3.938 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.005159, allocations: 0 / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.005161, allocations: 8.062 kB / 0.7925 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.005187, allocations: 119.2 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005187, allocations: 2.406 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001537/0.005341, allocations: 23.92 kB / 0.7927 GB, free: 6.699 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.0001049/0.005446, allocations: 119.1 kB / 0.7928 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.442e-05/0.0055, allocations: 39.59 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005501, allocations: 1.156 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.00551, allocations: 11.69 kB / 0.7928 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.005639, allocations: 4 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/0.005823, allocations: 119.7 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.005851, allocations: 59.28 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.005871, allocations: 5.938 kB / 0.793 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.0059, allocations: 73.7 kB / 0.7931 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.0059, allocations: 0 / 0.7931 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.001697/0.007597, allocations: 0.5921 MB / 0.7937 GB, free: 5.637 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: 4.752610720694065]