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.001497/0.001497, allocations: 108 kB / 15.6 MB, free: 128 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.001764/0.001764, allocations: 198.3 kB / 16.53 MB, free: 6.668 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.474/2.474, allocations: 390.2 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7873, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003094/0.7904, allocations: 1.648 MB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.7926, allocations: 1.483 MB / 0.9526 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.7928, allocations: 1.281 kB / 0.9526 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.7933, allocations: 55.41 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.7936, allocations: 52.27 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.7939, allocations: 106.6 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.7941, allocations: 166.6 kB / 0.953 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.7942, allocations: 13.08 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.7943, allocations: 70.27 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.7945, allocations: 58.31 kB / 0.9531 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.7945, allocations: 10.75 kB / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.7947, allocations: 69.45 kB / 0.9532 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.7948, allocations: 39.31 kB / 0.9533 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.7948, allocations: 64.72 kB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.7952, allocations: 193.2 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7952, allocations: 1.188 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7952, allocations: 4 kB / 0.9535 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.7952, allocations: 0 / 0.9535 GB, free: 6.117 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.0006384/0.7958, allocations: 467 kB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7959, allocations: 10.25 kB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.796, allocations: 15.19 kB / 0.954 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.7963, allocations: 267.8 kB / 0.9542 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7963, allocations: 1.812 kB / 0.9542 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.7963, allocations: 11.97 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.7966, allocations: 119.7 kB / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7966, allocations: 0 / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.7966, allocations: 1.156 kB / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7966, allocations: 1.375 kB / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.7969, allocations: 140 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.7971, allocations: 230.6 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.7975, allocations: 179.5 kB / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.7976, allocations: 58.08 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.7976, allocations: 11.69 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.7979, allocations: 109.8 kB / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.7979, allocations: 0 / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004793/0.7984, allocations: 226.7 kB / 0.9553 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.7984, allocations: 83.48 kB / 0.9554 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.7986, allocations: 204.4 kB / 0.9556 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.7987, allocations: 32.11 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.7987, allocations: 110.7 kB / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.7988, allocations: 43.89 kB / 0.9557 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.7988, allocations: 33.2 kB / 0.9558 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.7989, allocations: 327.6 kB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.799, allocations: 53.31 kB / 0.9561 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/0.7991, allocations: 72.86 kB / 0.9562 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.7993, allocations: 118.6 kB / 0.9563 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7993, allocations: 5.125 kB / 0.9563 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003157/0.7996, allocations: 195.2 kB / 0.9565 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.7997, allocations: 5 kB / 0.9565 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7997, allocations: 4.062 kB / 0.9565 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.7997, allocations: 1.281 kB / 0.9565 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.7999, allocations: 33.92 kB / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7999, allocations: 1.531 kB / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.8, allocations: 14.78 kB / 0.9566 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.8, allocations: 4.812 kB / 0.9566 GB, free: 3.574 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 ($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.000112/0.8001, allocations: 135 kB / 0.9567 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.8001, allocations: 15.22 kB / 0.9567 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.8002, allocations: 30.53 kB / 0.9567 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.8002, allocations: 5.625 kB / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8002, allocations: 1.5 kB / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8002, allocations: 0 / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.8004, allocations: 246.4 kB / 0.957 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8004, allocations: 0 / 0.957 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.8005, allocations: 19.97 kB / 0.957 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.8005, allocations: 1.812 kB / 0.957 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.8005, allocations: 5.703 kB / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8005, allocations: 1.938 kB / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8005, allocations: 0 / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.8009, allocations: 215 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.801, allocations: 92.98 kB / 0.9573 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.801, allocations: 2.75 kB / 0.9573 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.801, allocations: 6.75 kB / 0.9573 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.8011, allocations: 9.484 kB / 0.9573 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.8011, allocations: 5.5 kB / 0.9573 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001369/0.8013, allocations: 162.4 kB / 0.9575 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8013, allocations: 4 kB / 0.9575 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002655/0.8016, allocations: 42.11 kB / 0.9575 GB, free: 2.762 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 (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.001156/0.8027, allocations: 450.3 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.8031, allocations: 137.4 kB / 0.9581 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8031, allocations: 0 / 0.9581 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.8032, allocations: 62.88 kB / 0.9581 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.8035, allocations: 43.39 kB / 0.9582 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.8042, allocations: 296.9 kB / 0.9585 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.8044, allocations: 0.7256 MB / 0.9592 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.8045, allocations: 45.52 kB / 0.9592 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.8046, allocations: 33.77 kB / 0.9592 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.8046, allocations: 0 / 0.9592 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.006382/0.811, allocations: 2.506 MB / 0.9617 GB, free: 244 kB / 0.7169 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