Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008767/0.0008767, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9384/0.9384, allocations: 177.1 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.751/1.751, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.712e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00236/0.002387, allocations: 1.663 MB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.004012, allocations: 1.679 MB / 0.9538 GB, free: 104 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.004082, allocations: 0 / 0.9538 GB, free: 104 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.004528, allocations: 59.62 kB / 0.9538 GB, free: 44 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.004744, allocations: 99.47 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.004867, allocations: 71.67 kB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.00508, allocations: 187.5 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.005125, allocations: 4 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005236, allocations: 87.8 kB / 0.9543 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.005358, allocations: 59.86 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.005383, allocations: 19.94 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.005529, allocations: 107.8 kB / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.005604, allocations: 55.83 kB / 0.9545 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.005658, allocations: 39.84 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.00596, allocations: 259.2 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005963, allocations: 0 / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005965, allocations: 0 / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.005971, allocations: 0 / 0.9548 GB, free: 15.07 MB / 0.9167 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.0005748/0.006546, allocations: 428.9 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.006588, allocations: 12.03 kB / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.006622, allocations: 34.73 kB / 0.9552 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.006667, allocations: 20.84 kB / 0.9553 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.006974, allocations: 202.3 kB / 0.9554 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.00699, allocations: 8.312 kB / 0.9555 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.007004, allocations: 4.375 kB / 0.9555 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.007338, allocations: 165.3 kB / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.007345, allocations: 0 / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.007357, allocations: 0 / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.007362, allocations: 0 / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.007567, allocations: 191.7 kB / 0.9558 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.007766, allocations: 200.7 kB / 0.956 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.008071, allocations: 194.5 kB / 0.9562 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.008143, allocations: 56.83 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.008159, allocations: 0 / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.008332, allocations: 142.3 kB / 0.9564 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.008333, allocations: 0 / 0.9564 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.000373/0.008706, allocations: 249.5 kB / 0.9566 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.008752, allocations: 81.11 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.008949, allocations: 258.8 kB / 0.9569 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008967, allocations: 33.7 kB / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.009022, allocations: 116.1 kB / 0.9571 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.009068, allocations: 55.5 kB / 0.9571 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.009113, allocations: 33.7 kB / 0.9572 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.00921, allocations: 330.8 kB / 0.9575 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.009284, allocations: 55.97 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.009381, allocations: 112.2 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.009541, allocations: 141.8 kB / 0.9578 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009543, allocations: 3.938 kB / 0.9578 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002417/0.009785, allocations: 223 kB / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.009802, allocations: 4 kB / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009808, allocations: 0 / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.009822, allocations: 4 kB / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.00991, allocations: 27.98 kB / 0.958 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009916, allocations: 7.922 kB / 0.958 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.009959, allocations: 11.95 kB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.009968, allocations: 4 kB / 0.958 GB, free: 11.5 MB / 0.9167 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 8.921e-05/0.01006, allocations: 137.8 kB / 0.9582 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.01008, allocations: 23.88 kB / 0.9582 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.01041, allocations: 286.8 kB / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01041, allocations: 0 / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01041, allocations: 0 / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01042, allocations: 11.86 kB / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01058, allocations: 220.6 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01058, allocations: 0 / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.01064, allocations: 31.98 kB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.01064, allocations: 3.938 kB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.01066, allocations: 8 kB / 0.9587 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01066, allocations: 4 kB / 0.9587 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01066, allocations: 0 / 0.9587 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.01092, allocations: 275.1 kB / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.01095, allocations: 31.78 kB / 0.959 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.01098, allocations: 7.938 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.01101, allocations: 7.984 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.01105, allocations: 19.97 kB / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01107, allocations: 4 kB / 0.9591 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001188/0.01119, allocations: 200.3 kB / 0.9593 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 4 kB / 0.9593 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000202/0.01139, allocations: 63.86 kB / 0.9593 GB, free: 10.1 MB / 0.9167 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001279/0.01267, allocations: 1.254 MB / 0.9605 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.01289, allocations: 151.9 kB / 0.9607 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01289, allocations: 0 / 0.9607 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.01299, allocations: 79.89 kB / 0.9608 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01319, allocations: 37.8 kB / 0.9608 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.01497, allocations: 2.13 MB / 0.9629 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.516e-05/0.01505, allocations: 124 kB / 0.963 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.01513, allocations: 53.44 kB / 0.9631 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.01523, allocations: 64.47 kB / 0.9631 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01523, allocations: 4 kB / 0.9631 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.03751, allocations: 6.515 MB / 0.9695 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.69, allocations: 5.781 kB / 0.9695 GB, free: 15.88 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.933434595353901]