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.001257/0.001257, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 64.86 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.305, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002754/0.3078, allocations: 1.638 MB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3097, allocations: 1.487 MB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.3098, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.3102, allocations: 51.75 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3104, allocations: 59.64 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.3106, allocations: 111.1 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3108, allocations: 167.6 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.3109, allocations: 8.219 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.311, allocations: 63.77 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3111, allocations: 71.8 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3112, allocations: 11.94 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.3113, allocations: 67.97 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.3114, allocations: 35.91 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.3114, allocations: 67.53 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3117, allocations: 191.7 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3117, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3117, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3117, allocations: 0 / 1.072 GB, free: 6.402 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.0005557/0.3123, allocations: 470.6 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3123, allocations: 8.031 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.3124, allocations: 20.73 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.3127, allocations: 273.6 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3127, allocations: 4.375 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3128, allocations: 4.125 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.313, allocations: 119.3 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.313, allocations: 3.938 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.313, allocations: 8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.313, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3132, allocations: 139.9 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.3135, allocations: 229.5 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.3138, allocations: 174.5 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.3139, allocations: 52.78 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.314, allocations: 15.97 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.3142, allocations: 103.4 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3142, allocations: 0 / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004557/0.3147, allocations: 229.4 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3147, allocations: 77.11 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3149, allocations: 202.6 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.315, allocations: 29.7 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.315, allocations: 120.1 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.3151, allocations: 47.39 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.3151, allocations: 33.7 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.3152, allocations: 322.8 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.3153, allocations: 51.97 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3155, allocations: 75.64 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3157, allocations: 133.1 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3157, allocations: 0 / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003024/0.316, allocations: 197.3 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.316, allocations: 5.719 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.316, allocations: 0 / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.316, allocations: 0 / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3162, allocations: 31.92 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3162, allocations: 3.984 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.3162, allocations: 8.031 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3163, allocations: 4 kB / 1.075 GB, free: 3.023 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.0001377/0.3164, allocations: 139.5 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.3165, allocations: 19.8 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.3165, allocations: 29.47 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3165, allocations: 0 / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3166, allocations: 0 / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3166, allocations: 3.984 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3168, allocations: 241.3 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3168, allocations: 8 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.3169, allocations: 12 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3169, allocations: 4 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3169, allocations: 7.984 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3169, allocations: 8 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3169, allocations: 3.938 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3173, allocations: 212.8 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.3174, allocations: 88.92 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3174, allocations: 12 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.3175, allocations: 4 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3175, allocations: 11.98 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.3175, allocations: 7.984 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000138/0.3177, allocations: 156 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3177, allocations: 0 / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002758/0.318, allocations: 39.92 kB / 1.076 GB, free: 1.938 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.001315/0.3193, allocations: 457 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3196, allocations: 135.9 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3196, allocations: 0 / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.3198, allocations: 63.91 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3201, allocations: 48.03 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.3208, allocations: 299 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3211, allocations: 0.7163 MB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.3212, allocations: 45.5 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.3213, allocations: 35.41 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3213, allocations: 0 / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of Templates: time 0.006014/0.3273, allocations: 2.501 MB / 1.08 GB, free: 13.83 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