Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.91 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8228, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003912/0.8267, allocations: 1.665 MB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.8294, allocations: 1.491 MB / 1.216 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.8295, allocations: 1.219 kB / 1.216 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.83, allocations: 55.88 kB / 1.216 GB, free: 1.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.8303, allocations: 60.81 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.8307, allocations: 109.2 kB / 1.216 GB, free: 1.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.831, allocations: 165.2 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.831, allocations: 7.531 kB / 1.216 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.8312, allocations: 62.05 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.8314, allocations: 67.44 kB / 1.217 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.8314, allocations: 9.406 kB / 1.217 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.8316, allocations: 65.97 kB / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.8317, allocations: 48.02 kB / 1.217 GB, free: 1.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.8318, allocations: 60.38 kB / 1.217 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.8322, allocations: 198.6 kB / 1.217 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8322, allocations: 0 / 1.217 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8322, allocations: 1.062 kB / 1.217 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8322, allocations: 3.938 kB / 1.217 GB, free: 0.832 MB / 0.92 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.0008006/0.833, allocations: 470.9 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.833, allocations: 10.12 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.8331, allocations: 40.86 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.8331, allocations: 19.86 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.8337, allocations: 264.7 kB / 1.218 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.8337, allocations: 10.91 kB / 1.218 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.8338, allocations: 7.562 kB / 1.218 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.8341, allocations: 119.6 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8341, allocations: 0 / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.8341, allocations: 5.281 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.8341, allocations: 1.281 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.8344, allocations: 135.3 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.8348, allocations: 232.4 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.8352, allocations: 168.4 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.8353, allocations: 50.67 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.8353, allocations: 4.812 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.8356, allocations: 116.2 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.8356, allocations: 1.469 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0006023/0.8362, allocations: 225.6 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.8363, allocations: 79.42 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.8366, allocations: 205.8 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.8366, allocations: 32.7 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.8367, allocations: 110.3 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.8368, allocations: 48.36 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.8369, allocations: 33.09 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8371, allocations: 332.7 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.8372, allocations: 47.89 kB / 1.22 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.8373, allocations: 75.42 kB / 1.22 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.8376, allocations: 121 kB / 1.22 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.8376, allocations: 7.906 kB / 1.22 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004123/0.838, allocations: 198.8 kB / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.838, allocations: 6.625 kB / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.838, allocations: 0 / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8381, allocations: 1.781 kB / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8382, allocations: 28.7 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8382, allocations: 1.469 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.8383, allocations: 6.969 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.8383, allocations: 8.516 kB / 1.22 GB, free: 14.25 MB / 0.9356 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.0001332/0.8384, allocations: 140.8 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.8384, allocations: 19.48 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.8385, allocations: 26.73 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8385, allocations: 2.188 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8385, allocations: 0 / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8385, allocations: 1.094 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.8388, allocations: 241.8 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8388, allocations: 1.094 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.8389, allocations: 22.83 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8389, allocations: 1.312 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.8389, allocations: 6.406 kB / 1.22 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.8389, allocations: 9.141 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8389, allocations: 0 / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.8393, allocations: 208.2 kB / 1.221 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.8393, allocations: 93 kB / 1.221 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.8394, allocations: 7.062 kB / 1.221 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.635e-05/0.8394, allocations: 2.25 kB / 1.221 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.8395, allocations: 17.45 kB / 1.221 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.8395, allocations: 8.656 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00016/0.8396, allocations: 156.3 kB / 1.221 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8396, allocations: 9.188 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002777/0.8399, allocations: 38.58 kB / 1.221 GB, free: 13.42 MB / 0.9356 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.002346/0.8423, allocations: 1.092 MB / 1.222 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.8426, allocations: 117.9 kB / 1.222 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8426, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.8427, allocations: 54.97 kB / 1.222 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.843, allocations: 34.52 kB / 1.222 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.8456, allocations: 1.955 MB / 1.224 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.8459, allocations: 0.7223 MB / 1.225 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.8461, allocations: 50.03 kB / 1.225 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.8462, allocations: 60.88 kB / 1.225 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of SimCode: time 1.062e-06/0.8462, allocations: 1.344 kB / 1.225 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.8774, allocations: 4.741 MB / 1.23 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.325, allocations: 14.8 kB / 1.23 GB, free: 6.965 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.13289242098108]