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.001134/0.001134, allocations: 107.2 kB / 16.36 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.001179/0.001179, allocations: 193.1 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 62.81 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3146, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003805/0.3185, allocations: 1.641 MB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.3209, allocations: 1.491 MB / 0.9542 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3211, allocations: 4 kB / 0.9542 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.3216, allocations: 55.69 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.3219, allocations: 55.75 kB / 0.9543 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3222, allocations: 103.6 kB / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3225, allocations: 167.6 kB / 0.9546 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.3225, allocations: 8.219 kB / 0.9546 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3227, allocations: 71.75 kB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.3229, allocations: 59.81 kB / 0.9547 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.3229, allocations: 12 kB / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3231, allocations: 67.91 kB / 0.9548 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.3232, allocations: 47.83 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.3233, allocations: 59.66 kB / 0.9549 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.3236, allocations: 187.4 kB / 0.9551 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3237, allocations: 0 / 0.9551 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.522e-06/0.3237, allocations: 3.984 kB / 0.9551 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.3237, allocations: 0 / 0.9551 GB, free: 4.016 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.0008011/0.3245, allocations: 482.5 kB / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3245, allocations: 12.03 kB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.131e-05/0.3246, allocations: 16.75 kB / 0.9555 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.3252, allocations: 255.7 kB / 0.9558 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3252, allocations: 4.375 kB / 0.9558 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3252, allocations: 12.12 kB / 0.9558 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3255, allocations: 119.3 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3255, allocations: 7.922 kB / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3255, allocations: 0 / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3256, allocations: 0 / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.3258, allocations: 147.8 kB / 0.9561 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.3261, allocations: 225.5 kB / 0.9563 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.3265, allocations: 166.6 kB / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3266, allocations: 60.77 kB / 0.9565 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3267, allocations: 8 kB / 0.9565 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.3269, allocations: 115.3 kB / 0.9566 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.327, allocations: 0 / 0.9566 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005438/0.3275, allocations: 217.4 kB / 0.9568 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.3276, allocations: 85.11 kB / 0.9569 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3278, allocations: 198.8 kB / 0.9571 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3279, allocations: 29.7 kB / 0.9571 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.3279, allocations: 112.1 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.328, allocations: 47.38 kB / 0.9573 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.3281, allocations: 37.7 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3282, allocations: 326.8 kB / 0.9576 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3284, allocations: 47.92 kB / 0.9577 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3285, allocations: 78.55 kB / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.3287, allocations: 121.3 kB / 0.9579 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3287, allocations: 8.109 kB / 0.9579 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003363/0.3291, allocations: 197.3 kB / 0.9581 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3291, allocations: 4 kB / 0.9581 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3291, allocations: 0 / 0.9581 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3291, allocations: 4 kB / 0.9581 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3293, allocations: 28.05 kB / 0.9581 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3293, allocations: 0 / 0.9581 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.3294, allocations: 15.89 kB / 0.9581 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3294, allocations: 7.938 kB / 0.9581 GB, free: 0.6289 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.0001247/0.3295, allocations: 139.7 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.3296, allocations: 15.81 kB / 0.9583 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.3296, allocations: 25.52 kB / 0.9583 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3296, allocations: 0 / 0.9583 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3297, allocations: 4 kB / 0.9583 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3297, allocations: 4 kB / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.3299, allocations: 237.5 kB / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3299, allocations: 3.938 kB / 0.9585 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.33, allocations: 19.98 kB / 0.9585 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.33, allocations: 3.984 kB / 0.9585 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.33, allocations: 4 kB / 0.9585 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.33, allocations: 3.938 kB / 0.9585 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.33, allocations: 0 / 0.9585 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3304, allocations: 216.8 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.3305, allocations: 96.91 kB / 0.9588 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.3305, allocations: 4 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.3306, allocations: 4 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3306, allocations: 7.984 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3306, allocations: 8 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001385/0.3308, allocations: 160 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3308, allocations: 0 / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002607/0.331, allocations: 36 kB / 0.9591 GB, free: 15.56 MB / 0.7481 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.001095/0.3321, allocations: 464.6 kB / 0.9595 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3325, allocations: 124 kB / 0.9596 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3325, allocations: 0 / 0.9596 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3326, allocations: 65.09 kB / 0.9597 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3329, allocations: 35.62 kB / 0.9597 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.3335, allocations: 291 kB / 0.96 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3339, allocations: 0.7278 MB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.334, allocations: 61.47 kB / 0.9608 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.3341, allocations: 35.36 kB / 0.9608 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.3341, allocations: 4 kB / 0.9608 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.005996/0.3401, allocations: 2.483 MB / 0.9632 GB, free: 11.46 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 -s cvode -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