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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001659/0.001659, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002128/0.002127, allocations: 197.3 kB / 16.25 MB, free: 6.625 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.8 kB / 0.9116 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2854, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003261/0.2887, allocations: 1.707 MB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2908, allocations: 1.448 MB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.2909, allocations: 4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.2914, allocations: 55.77 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.2916, allocations: 51.77 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.2919, allocations: 91.34 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.2921, allocations: 159.7 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.2921, allocations: 16.2 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.2922, allocations: 67.7 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2924, allocations: 67.75 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.2925, allocations: 8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2926, allocations: 71.95 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.2927, allocations: 47.83 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.2928, allocations: 63.61 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.293, allocations: 187.7 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.293, allocations: 3.938 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.293, allocations: 0 / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.293, allocations: 0 / 1.072 GB, free: 6.719 MB / 0.8262 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.0006136/0.2937, allocations: 466.6 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2937, allocations: 12.03 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.2938, allocations: 16.75 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.2941, allocations: 265.6 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2941, allocations: 12.36 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2941, allocations: 8.125 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.2944, allocations: 119.3 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2944, allocations: 0 / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.2944, allocations: 4 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2944, allocations: 4 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.2946, allocations: 143.8 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.2949, allocations: 225.6 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.2952, allocations: 174.5 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.2953, allocations: 52.78 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.2954, allocations: 8 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.2956, allocations: 111.3 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2956, allocations: 4 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004629/0.2961, allocations: 221.4 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2962, allocations: 81.11 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2964, allocations: 198.6 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2964, allocations: 33.7 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.2965, allocations: 116.1 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.2965, allocations: 47.39 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.2966, allocations: 33.7 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2967, allocations: 330.8 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.2968, allocations: 48.08 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.2969, allocations: 75.19 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.2971, allocations: 125.1 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2971, allocations: 0 / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003283/0.2975, allocations: 205.3 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2975, allocations: 9.391 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2975, allocations: 4 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2975, allocations: 0 / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2976, allocations: 23.98 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2976, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.2977, allocations: 7.938 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2977, allocations: 8 kB / 1.075 GB, free: 3.344 MB / 0.8262 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.0001107/0.2978, allocations: 141.7 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2979, allocations: 19.84 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.2979, allocations: 25.52 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2979, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.298, allocations: 4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.298, allocations: 3.984 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.2982, allocations: 241.3 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2982, allocations: 3.984 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.2982, allocations: 20 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2982, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2983, allocations: 7.984 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2983, allocations: 0 / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2983, allocations: 4 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.2986, allocations: 212.8 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2987, allocations: 92.91 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.2987, allocations: 4 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.2988, allocations: 8 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.2988, allocations: 7.984 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2988, allocations: 4 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001222/0.299, allocations: 164 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.503e-06/0.299, allocations: 0 / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002545/0.2992, allocations: 43.94 kB / 1.076 GB, free: 2.258 MB / 0.8262 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.001003/0.3002, allocations: 454.1 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.3005, allocations: 135.9 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3005, allocations: 4 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3007, allocations: 63.03 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.301, allocations: 44.27 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.3015, allocations: 331 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3018, allocations: 0.7202 MB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.3019, allocations: 53.44 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.302, allocations: 35.42 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of SimCode: time 2.595e-06/0.302, allocations: 0 / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of Templates: time 0.005382/0.3074, allocations: 2.487 MB / 1.08 GB, free: 14.13 MB / 0.8419 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 -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/jenkins/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