Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 106.5 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000993/0.000993, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.412/2.412, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 70.97 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2845, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002892/0.2875, allocations: 1.664 MB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2895, allocations: 1.495 MB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.2895, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.29, allocations: 47.77 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.2902, allocations: 55.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.2904, allocations: 107.7 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.2907, allocations: 163.6 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.2908, allocations: 8.234 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2909, allocations: 67.7 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.291, allocations: 59.81 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2911, allocations: 8 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2912, allocations: 75.95 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.2913, allocations: 43.84 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.2914, allocations: 63.59 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2917, allocations: 195.3 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2917, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2917, allocations: 4 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2917, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 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.0006631/0.2924, allocations: 462.7 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2924, allocations: 8.031 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.2925, allocations: 20.75 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.2929, allocations: 267.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2929, allocations: 384 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.293, allocations: 12.11 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.2932, allocations: 119.3 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2932, allocations: 0 / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2932, allocations: 4 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2933, allocations: 0 / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.2935, allocations: 143.9 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2938, allocations: 229.5 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.2942, allocations: 178.4 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2943, allocations: 52.78 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2943, allocations: 11.97 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.2946, allocations: 110.9 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.2946, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005063/0.2951, allocations: 229.4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.2952, allocations: 77.11 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2954, allocations: 200.5 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2954, allocations: 33.64 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.2955, allocations: 112.1 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2955, allocations: 51.39 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.2956, allocations: 33.7 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2957, allocations: 326.8 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.836e-05/0.2958, allocations: 47.97 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2959, allocations: 78.55 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.2962, allocations: 125.7 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2962, allocations: 4 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003158/0.2965, allocations: 200.3 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2965, allocations: 11.12 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2965, allocations: 0 / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2965, allocations: 0 / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.2967, allocations: 23.98 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2967, allocations: 4 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.2967, allocations: 7.906 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2968, allocations: 12.03 kB / 1.034 GB, free: 10.63 MB / 0.8106 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.0001142/0.2969, allocations: 141.6 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.2969, allocations: 15.81 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.297, allocations: 25.52 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.297, allocations: 4 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.297, allocations: 0 / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.297, allocations: 0 / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.2972, allocations: 241.4 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2972, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.2973, allocations: 20 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2973, allocations: 8 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2973, allocations: 3.984 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2973, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2973, allocations: 4 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2977, allocations: 212.7 kB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.2978, allocations: 89.02 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2978, allocations: 7.938 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.2979, allocations: 11.94 kB / 1.034 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.2979, allocations: 11.98 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2979, allocations: 4 kB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001401/0.2981, allocations: 160.6 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2981, allocations: 0 / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002505/0.2983, allocations: 35.98 kB / 1.035 GB, free: 9.562 MB / 0.8106 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001037/0.2994, allocations: 461.5 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2997, allocations: 123.9 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2997, allocations: 0 / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2998, allocations: 63.91 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3001, allocations: 37.09 kB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.3006, allocations: 305.8 kB / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3009, allocations: 0.7202 MB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.301, allocations: 45.52 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.301, allocations: 31.42 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.301, allocations: 4 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.005451/0.3065, allocations: 2.491 MB / 1.039 GB, free: 5.465 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches