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.001858/0.001858, allocations: 100.1 kB / 15.88 MB, free: 12 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.002769/0.002768, allocations: 199 kB / 16.79 MB, free: 6.809 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.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.559/2.559, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 64.09 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7754, allocations: 140.4 MB / 0.9496 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003698/0.7792, allocations: 1.698 MB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.7813, allocations: 1.458 MB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.7814, allocations: 1.312 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.7819, allocations: 46.53 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.7821, allocations: 46.92 kB / 0.9528 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.7824, allocations: 91.88 kB / 0.9529 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.7826, allocations: 153.2 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.7827, allocations: 13.42 kB / 0.953 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.7828, allocations: 57.81 kB / 0.9531 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.783, allocations: 69.33 kB / 0.9531 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.783, allocations: 5.5 kB / 0.9531 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.7832, allocations: 60.41 kB / 0.9532 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.7832, allocations: 42.95 kB / 0.9532 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.7833, allocations: 56.31 kB / 0.9533 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.7835, allocations: 142.3 kB / 0.9534 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7835, allocations: 1.188 kB / 0.9534 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.12e-07/0.7835, allocations: 0 / 0.9534 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.7835, allocations: 0 / 0.9534 GB, free: 6.312 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.0005694/0.7841, allocations: 475.8 kB / 0.9539 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7842, allocations: 8.594 kB / 0.9539 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.7842, allocations: 15.91 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.7845, allocations: 258.8 kB / 0.9542 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7846, allocations: 11.53 kB / 0.9542 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.7846, allocations: 7.406 kB / 0.9542 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.7848, allocations: 114.5 kB / 0.9543 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.7848, allocations: 5.156 kB / 0.9543 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.7849, allocations: 4 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.7849, allocations: 1.438 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.7851, allocations: 144.2 kB / 0.9544 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.7854, allocations: 223.7 kB / 0.9546 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.7858, allocations: 174.8 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.7859, allocations: 65.55 kB / 0.9549 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.7859, allocations: 4.297 kB / 0.9549 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.7861, allocations: 121.1 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.7862, allocations: 0 / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005045/0.7867, allocations: 226.6 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7867, allocations: 78.39 kB / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.7869, allocations: 200.9 kB / 0.9555 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.7869, allocations: 40.38 kB / 0.9555 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.787, allocations: 110.2 kB / 0.9556 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.7871, allocations: 43.66 kB / 0.9557 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.7871, allocations: 30.06 kB / 0.9557 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.7872, allocations: 331.5 kB / 0.956 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7873, allocations: 49.23 kB / 0.956 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.7874, allocations: 71.08 kB / 0.9561 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.7876, allocations: 127.2 kB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7876, allocations: 0 / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003055/0.7879, allocations: 195.2 kB / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.788, allocations: 7.031 kB / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.788, allocations: 0 / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.788, allocations: 3.984 kB / 0.9564 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7881, allocations: 29.39 kB / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7881, allocations: 5.25 kB / 0.9565 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.7882, allocations: 11.81 kB / 0.9565 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.7882, allocations: 7.703 kB / 0.9565 GB, free: 3.762 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.0001081/0.7883, allocations: 144.6 kB / 0.9566 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.7884, allocations: 15.66 kB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.7884, allocations: 27.33 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7884, allocations: 1.281 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7885, allocations: 1.125 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7885, allocations: 0 / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.7886, allocations: 235.5 kB / 0.9569 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7886, allocations: 3.938 kB / 0.9569 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.7887, allocations: 20.11 kB / 0.9569 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7887, allocations: 3.938 kB / 0.9569 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.7887, allocations: 7.562 kB / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7887, allocations: 0 / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7887, allocations: 0 / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.7891, allocations: 212.1 kB / 0.9571 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.7891, allocations: 97.42 kB / 0.9572 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.7892, allocations: 6.75 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.7892, allocations: 6.391 kB / 0.9572 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.7893, allocations: 13.23 kB / 0.9572 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.7893, allocations: 9.25 kB / 0.9573 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001249/0.7895, allocations: 158.6 kB / 0.9574 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7895, allocations: 0 / 0.9574 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002712/0.7897, allocations: 34.22 kB / 0.9574 GB, free: 2.957 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.00111/0.7909, allocations: 466.6 kB / 0.9579 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.7912, allocations: 125.5 kB / 0.958 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.7912, allocations: 0 / 0.958 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.7913, allocations: 58.64 kB / 0.9581 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.7916, allocations: 47.12 kB / 0.9581 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.7922, allocations: 352.9 kB / 0.9584 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.7924, allocations: 0.7221 MB / 0.9591 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.7924, allocations: 29.48 kB / 0.9592 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7925, allocations: 3.938 kB / 0.9592 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.004772/0.7972, allocations: 2.79 MB / 0.9619 GB, free: 208 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/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