Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001227/0.001227, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001221/0.001221, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.55 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 140.4 MB / 0.9503 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003714/0.3229, allocations: 1.637 MB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3254, allocations: 1.483 MB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3256, allocations: 4 kB / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.3261, allocations: 55.69 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.3264, allocations: 51.77 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.3268, allocations: 103.6 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.327, allocations: 167.6 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.3271, allocations: 12.2 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3272, allocations: 63.77 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.3275, allocations: 73.06 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.3275, allocations: 11.94 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3277, allocations: 71.95 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.3278, allocations: 43.84 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3279, allocations: 55.66 kB / 0.954 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.3282, allocations: 195.7 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3283, allocations: 0 / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3283, allocations: 0 / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3283, allocations: 0 / 0.9542 GB, free: 4.781 MB / 0.7325 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.0007621/0.329, allocations: 470.6 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3291, allocations: 15.97 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.3292, allocations: 12.75 kB / 0.9547 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3295, allocations: 267.8 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3295, allocations: 4.375 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3296, allocations: 8.125 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3298, allocations: 115.3 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3299, allocations: 4 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3299, allocations: 0 / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3299, allocations: 3.938 kB / 0.9551 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.3301, allocations: 139.9 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.3304, allocations: 229.5 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.3308, allocations: 174.6 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3309, allocations: 56.78 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.331, allocations: 11.97 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.3313, allocations: 111.3 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.3313, allocations: 0 / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005071/0.3318, allocations: 221.4 kB / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3319, allocations: 81.11 kB / 0.956 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3321, allocations: 198.6 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3321, allocations: 37.7 kB / 0.9563 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.3322, allocations: 108.1 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.3323, allocations: 47.39 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.3323, allocations: 33.7 kB / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3325, allocations: 326.8 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3326, allocations: 55.91 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3327, allocations: 73.08 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3329, allocations: 129.6 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3329, allocations: 4 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003278/0.3333, allocations: 205.3 kB / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3333, allocations: 6.344 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.3333, allocations: 0 / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3333, allocations: 4 kB / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3335, allocations: 23.98 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3335, allocations: 8.016 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.3335, allocations: 7.906 kB / 0.9572 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3336, allocations: 8 kB / 0.9573 GB, free: 1.395 MB / 0.7325 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.0001302/0.3337, allocations: 143.7 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3337, allocations: 15.75 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.3338, allocations: 29.52 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3338, allocations: 0 / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3338, allocations: 0 / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3338, allocations: 4 kB / 0.9574 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3341, allocations: 245.4 kB / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3341, allocations: 0 / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.3341, allocations: 16 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3342, allocations: 0 / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3342, allocations: 11.98 kB / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3342, allocations: 0 / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3342, allocations: 3.938 kB / 0.9577 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3345, allocations: 208.8 kB / 0.9579 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3346, allocations: 92.92 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.3346, allocations: 8 kB / 0.958 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.3347, allocations: 8 kB / 0.958 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.3347, allocations: 7.984 kB / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.3348, allocations: 4 kB / 0.958 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001409/0.3349, allocations: 160 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3349, allocations: 0 / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002642/0.3352, allocations: 39.98 kB / 0.9582 GB, free: 332 kB / 0.7325 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.001064/0.3363, allocations: 462.5 kB / 0.9587 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.3366, allocations: 135.9 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3366, allocations: 0 / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3368, allocations: 59.97 kB / 0.9588 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3371, allocations: 42.84 kB / 0.9589 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.3377, allocations: 336.6 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.3381, allocations: 0.7162 MB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.3382, allocations: 31.42 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.3382, allocations: 4 kB / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.00543/0.3436, allocations: 2.801 MB / 0.9627 GB, free: 11.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches