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.001318/0.001318, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001398/0.001398, allocations: 168.2 kB / 24.86 MB, free: 8.883 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.9497/0.9497, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.851/1.851, allocations: 359 MB / 0.6063 GB, free: 10.89 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.784e-06/1.784e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.703e-05, allocations: 3.75 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.004764/0.004801, allocations: 1.351 MB / 0.7896 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.006113, allocations: 0.5562 MB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.006174, allocations: 0 / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.006208, allocations: 1.469 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.006298, allocations: 7.875 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.007258, allocations: 141.7 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.007359, allocations: 27.91 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.007422, allocations: 0 / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.007479, allocations: 15.92 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.007565, allocations: 7.984 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.007587, allocations: 0 / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.008169, allocations: 269.1 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.008196, allocations: 7.984 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.008226, allocations: 11.98 kB / 0.7906 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.008574, allocations: 155.4 kB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008579, allocations: 0 / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/0.008581, allocations: 0.5938 kB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.008585, allocations: 0.5 kB / 0.7908 GB, free: 9.664 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.0005022/0.009088, allocations: 385.1 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.009136, allocations: 16.02 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.009176, allocations: 5.234 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.00929, allocations: 110.4 kB / 0.7913 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.009304, allocations: 384 / 0.7913 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.009312, allocations: 4.312 kB / 0.7913 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.009419, allocations: 42.25 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.009428, allocations: 192 / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.009436, allocations: 1.719 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.009442, allocations: 384 / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.009475, allocations: 11.94 kB / 0.7913 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.009805, allocations: 241.3 kB / 0.7916 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.01001, allocations: 54.97 kB / 0.7916 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.01004, allocations: 16.5 kB / 0.7916 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01006, allocations: 2.594 kB / 0.7916 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.01009, allocations: 45.38 kB / 0.7917 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.0101, allocations: 0 / 0.7917 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.01026, allocations: 49.62 kB / 0.7917 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.0103, allocations: 55.41 kB / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.0104, allocations: 157.9 kB / 0.7919 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01042, allocations: 25.7 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.01049, allocations: 135.3 kB / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.0105, allocations: 15.89 kB / 0.7921 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.01055, allocations: 24.09 kB / 0.7921 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.01074, allocations: 496.6 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.01075, allocations: 4 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.01079, allocations: 25.02 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.01084, allocations: 31.75 kB / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01085, allocations: 128 / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.01095, allocations: 62.16 kB / 0.7927 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01097, allocations: 4.594 kB / 0.7927 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01097, allocations: 0 / 0.7927 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01099, allocations: 8.719 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.01105, allocations: 7.984 kB / 0.7927 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.01105, allocations: 5.156 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.01107, allocations: 0 / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.01108, allocations: 0 / 0.7927 GB, free: 7.465 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.949e-05/0.01117, allocations: 161.9 kB / 0.7929 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.01119, allocations: 3.953 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.01135, allocations: 58.28 kB / 0.793 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01136, allocations: 7.922 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01136, allocations: 0 / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01136, allocations: 0.7812 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.01153, allocations: 101.2 kB / 0.7931 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01153, allocations: 1.281 kB / 0.7931 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.01157, allocations: 12 kB / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01157, allocations: 0 / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.01158, allocations: 0.8438 kB / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01158, allocations: 3.938 kB / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01158, allocations: 7.922 kB / 0.7931 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.01175, allocations: 197.2 kB / 0.7933 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.01176, allocations: 7.953 kB / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.01177, allocations: 0 / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.01182, allocations: 1.25 kB / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.01183, allocations: 0 / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.01184, allocations: 7.938 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.01189, allocations: 125 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01189, allocations: 0 / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003021/0.01219, allocations: 19.94 kB / 0.7934 GB, free: 6.703 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.0002104/0.0124, allocations: 119.1 kB / 0.7935 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.01251, allocations: 30.14 kB / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01251, allocations: 4 kB / 0.7936 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.01253, allocations: 15.67 kB / 0.7936 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.01279, allocations: 9.656 kB / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.01312, allocations: 126.8 kB / 0.7937 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.255e-05/0.01318, allocations: 55.83 kB / 0.7938 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.01322, allocations: 6.188 kB / 0.7938 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.01327, allocations: 70.2 kB / 0.7938 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01327, allocations: 0 / 0.7938 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.003307/0.01658, allocations: 0.6049 MB / 0.7944 GB, free: 5.633 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.050086889881641]