Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001557/0.001557, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001672/0.001672, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.075/1.075, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.87/1.87, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.97e-05/4.21e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003791/0.003833, allocations: 1.707 MB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.006759, allocations: 1.733 MB / 0.7905 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.006867, allocations: 4 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.007417, allocations: 55.58 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.007786, allocations: 103.5 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.008047, allocations: 80.48 kB / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.008329, allocations: 179.6 kB / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.008372, allocations: 0 / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.008528, allocations: 92.36 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.008692, allocations: 59.34 kB / 0.791 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.008724, allocations: 12 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.008972, allocations: 119.7 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.009064, allocations: 47.89 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.009135, allocations: 44.91 kB / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.009587, allocations: 223.2 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.009591, allocations: 0 / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.009593, allocations: 1.344 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.009599, allocations: 0 / 0.7914 GB, free: 7.992 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007703/0.01037, allocations: 0.511 MB / 0.7919 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.01042, allocations: 13.59 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.01051, allocations: 24.8 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.01085, allocations: 197.2 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.01087, allocations: 4.312 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.0109, allocations: 15.05 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.01118, allocations: 147.7 kB / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01119, allocations: 0 / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.0112, allocations: 4 kB / 0.7923 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.01121, allocations: 4 kB / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.01146, allocations: 127.8 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.0117, allocations: 172.5 kB / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.01214, allocations: 187.7 kB / 0.7928 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.01222, allocations: 41.27 kB / 0.7928 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01224, allocations: 4.109 kB / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.01243, allocations: 101 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.01243, allocations: 0 / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004456/0.01288, allocations: 179.2 kB / 0.7931 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.01293, allocations: 81.05 kB / 0.7932 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.01318, allocations: 273.6 kB / 0.7935 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01321, allocations: 29.7 kB / 0.7935 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.01329, allocations: 160 kB / 0.7936 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.01336, allocations: 51.62 kB / 0.7937 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.01343, allocations: 43.36 kB / 0.7937 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.01359, allocations: 0.5095 MB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.01366, allocations: 19.98 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01377, allocations: 92.2 kB / 0.7943 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.01393, allocations: 83.45 kB / 0.7944 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01393, allocations: 0 / 0.7944 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002906/0.01422, allocations: 165.5 kB / 0.7946 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01424, allocations: 7.938 kB / 0.7946 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01425, allocations: 0.625 kB / 0.7946 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01426, allocations: 4 kB / 0.7946 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.0144, allocations: 28.45 kB / 0.7946 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.0144, allocations: 0.7188 kB / 0.7946 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.01446, allocations: 4 kB / 0.7946 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.01448, allocations: 12.52 kB / 0.7946 GB, free: 4.5 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001117/0.01459, allocations: 162 kB / 0.7948 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.01463, allocations: 23.86 kB / 0.7948 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.01506, allocations: 222.9 kB / 0.795 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.01506, allocations: 8.406 kB / 0.795 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01507, allocations: 5.375 kB / 0.795 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.01507, allocations: 4 kB / 0.795 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.01529, allocations: 196.5 kB / 0.7952 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01529, allocations: 0 / 0.7952 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.0154, allocations: 29.14 kB / 0.7952 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.0154, allocations: 4 kB / 0.7952 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01542, allocations: 8 kB / 0.7953 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01542, allocations: 5.312 kB / 0.7953 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01543, allocations: 0 / 0.7953 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.01578, allocations: 237.8 kB / 0.7955 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.01582, allocations: 23.83 kB / 0.7955 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.01585, allocations: 4.875 kB / 0.7955 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.01591, allocations: 11.94 kB / 0.7955 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.01596, allocations: 16.84 kB / 0.7955 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.01599, allocations: 11.98 kB / 0.7956 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001493/0.01614, allocations: 201.4 kB / 0.7957 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01614, allocations: 0 / 0.7957 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003308/0.01647, allocations: 55.88 kB / 0.7958 GB, free: 3.234 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001479/0.01795, allocations: 0.5019 MB / 0.7963 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.01821, allocations: 110.3 kB / 0.7964 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01821, allocations: 4 kB / 0.7964 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01833, allocations: 72.84 kB / 0.7965 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01864, allocations: 49.45 kB / 0.7965 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.0193, allocations: 319.2 kB / 0.7968 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.01938, allocations: 77.42 kB / 0.7969 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.01949, allocations: 46.5 kB / 0.7969 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.01959, allocations: 36.48 kB / 0.797 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.01959, allocations: 0 / 0.797 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.008001/0.02759, allocations: 3.572 MB / 0.8005 GB, free: 14.66 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.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.608722734265029]