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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009692/0.0009694, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.9 MB / 0.666 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8214, allocations: 142.4 MB / 0.9545 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001757/0.8233, allocations: 1.334 MB / 0.9558 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.8249, allocations: 1.371 MB / 0.9571 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.825, allocations: 0 / 0.9571 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.8255, allocations: 49.48 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.8256, allocations: 47.95 kB / 0.9572 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.8259, allocations: 87.19 kB / 0.9573 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.8261, allocations: 149.3 kB / 0.9574 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.8261, allocations: 13.48 kB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.8262, allocations: 57.83 kB / 0.9575 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.8264, allocations: 58.66 kB / 0.9575 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.8264, allocations: 5.656 kB / 0.9575 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.8265, allocations: 58.38 kB / 0.9576 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.8266, allocations: 43.92 kB / 0.9576 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.8267, allocations: 46.98 kB / 0.9577 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.8268, allocations: 138.4 kB / 0.9578 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8269, allocations: 1.938 kB / 0.9578 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8269, allocations: 0 / 0.9578 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.8269, allocations: 0 / 0.9578 GB, free: 5.133 MB / 0.7169 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.0004864/0.8274, allocations: 437.1 kB / 0.9582 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8274, allocations: 9.625 kB / 0.9582 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.8275, allocations: 22.64 kB / 0.9583 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.8277, allocations: 258.3 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.8278, allocations: 2.75 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.8278, allocations: 10.69 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.828, allocations: 115.6 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.828, allocations: 0 / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.828, allocations: 1.656 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.828, allocations: 1.312 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.8283, allocations: 146.9 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.8285, allocations: 231 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.8288, allocations: 175 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.8289, allocations: 48.62 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.829, allocations: 8.516 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.8292, allocations: 115.1 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.8292, allocations: 0 / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004447/0.8297, allocations: 222.1 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.8297, allocations: 78.48 kB / 0.9596 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.8299, allocations: 204.3 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.8299, allocations: 31.08 kB / 0.9598 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.83, allocations: 111 kB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.83, allocations: 47.69 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.8301, allocations: 4 kB / 0.96 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.8301, allocations: 332.4 kB / 0.9603 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.8302, allocations: 47.3 kB / 0.9604 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.8303, allocations: 77.05 kB / 0.9604 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.465e-05/0.8304, allocations: 60.86 kB / 0.9605 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.8304, allocations: 0 / 0.9605 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002658/0.8307, allocations: 195.6 kB / 0.9607 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8307, allocations: 4.125 kB / 0.9607 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8307, allocations: 4.875 kB / 0.9607 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8307, allocations: 0.9062 kB / 0.9607 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.8309, allocations: 29.2 kB / 0.9607 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8309, allocations: 1.188 kB / 0.9607 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.8309, allocations: 16.27 kB / 0.9607 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.8309, allocations: 8.188 kB / 0.9607 GB, free: 2.68 MB / 0.7169 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.8311, allocations: 140.9 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.8311, allocations: 15 kB / 0.9609 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.8312, allocations: 31.56 kB / 0.9609 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8312, allocations: 2.281 kB / 0.9609 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8312, allocations: 0 / 0.9609 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8312, allocations: 0 / 0.9609 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.8313, allocations: 230.7 kB / 0.9611 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8314, allocations: 0 / 0.9611 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.8314, allocations: 28.14 kB / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8314, allocations: 0.8438 kB / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.8315, allocations: 6.344 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8315, allocations: 0.8125 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8315, allocations: 1.031 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.8318, allocations: 215.7 kB / 0.9614 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.8318, allocations: 101.9 kB / 0.9615 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.8319, allocations: 7 kB / 0.9615 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.8319, allocations: 2.156 kB / 0.9615 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.832, allocations: 13.8 kB / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.832, allocations: 9 kB / 0.9615 GB, free: 2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001131/0.8321, allocations: 154.5 kB / 0.9617 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8321, allocations: 0 / 0.9617 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002525/0.8324, allocations: 34.59 kB / 0.9617 GB, free: 1.879 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.8334, allocations: 473.2 kB / 0.9621 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.8337, allocations: 118.4 kB / 0.9623 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8337, allocations: 0 / 0.9623 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8338, allocations: 63.25 kB / 0.9623 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.8341, allocations: 35.42 kB / 0.9623 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.8347, allocations: 325.8 kB / 0.9627 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.8348, allocations: 0.7229 MB / 0.9634 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.8349, allocations: 52.12 kB / 0.9634 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.835, allocations: 29.42 kB / 0.9634 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.835, allocations: 0 / 0.9634 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of Templates: time 0.005376/0.8404, allocations: 2.326 MB / 0.9657 GB, free: 15.4 MB / 0.7325 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/jenkins/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