Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.00134/0.00134, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001611/0.001611, allocations: 209.6 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.376/3.376, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 69.58 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2089/0.5658, allocations: 177.1 MB / 1.526 GB, free: 6.703 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.004347/0.5701, allocations: 1.866 MB / 1.528 GB, free: 4.832 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007179/0.5708, allocations: 23.81 kB / 1.528 GB, free: 4.809 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5718, allocations: 222.5 kB / 1.528 GB, free: 4.59 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.5745, allocations: 0.7817 MB / 1.529 GB, free: 3.805 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5769, allocations: 0.8864 MB / 1.529 GB, free: 2.918 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.5782, allocations: 0.8688 MB / 1.53 GB, free: 2.047 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005728/0.5787, allocations: 231.6 kB / 1.531 GB, free: 1.816 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.5802, allocations: 0.5839 MB / 1.531 GB, free: 1.23 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.5807, allocations: 282.8 kB / 1.531 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.5808, allocations: 28 kB / 1.531 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.5831, allocations: 1.185 MB / 1.533 GB, free: 15.73 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.5833, allocations: 131.4 kB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.5836, allocations: 203 kB / 1.533 GB, free: 15.41 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.5855, allocations: 0.9189 MB / 1.534 GB, free: 14.49 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5855, allocations: 4 kB / 1.534 GB, free: 14.48 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5855, allocations: 0 / 1.534 GB, free: 14.48 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.5855, allocations: 0 / 1.534 GB, free: 14.48 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002026/0.5875, allocations: 0.7146 MB / 1.534 GB, free: 13.74 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5876, allocations: 12.03 kB / 1.535 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.725e-05/0.5877, allocations: 62.53 kB / 1.535 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.5887, allocations: 171.5 kB / 1.535 GB, free: 13.49 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.5894, allocations: 299.7 kB / 1.535 GB, free: 13.16 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.5894, allocations: 16.66 kB / 1.535 GB, free: 13.15 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.5895, allocations: 28 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.5902, allocations: 407.5 kB / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5902, allocations: 0 / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.5902, allocations: 12 kB / 1.535 GB, free: 12.69 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.5902, allocations: 12.59 kB / 1.535 GB, free: 12.68 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.591, allocations: 346.3 kB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.5932, allocations: 1.746 MB / 1.538 GB, free: 10.43 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.5937, allocations: 218.7 kB / 1.538 GB, free: 10.21 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.5939, allocations: 136.7 kB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.5944, allocations: 75.89 kB / 1.538 GB, free: 10 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5944, allocations: 34.56 kB / 1.538 GB, free: 9.957 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.5944, allocations: 0 / 1.538 GB, free: 9.957 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.0009634/0.5954, allocations: 383.4 kB / 1.538 GB, free: 9.578 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.5954, allocations: 55.41 kB / 1.538 GB, free: 9.512 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.5958, allocations: 357.7 kB / 1.539 GB, free: 9.156 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.5958, allocations: 33.7 kB / 1.539 GB, free: 9.117 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.596, allocations: 204.3 kB / 1.539 GB, free: 8.914 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.5961, allocations: 63.44 kB / 1.539 GB, free: 8.852 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/0.5961, allocations: 53.64 kB / 1.539 GB, free: 8.793 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5963, allocations: 346.7 kB / 1.539 GB, free: 8.445 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5965, allocations: 95.92 kB / 1.539 GB, free: 8.352 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5968, allocations: 145.9 kB / 1.54 GB, free: 8.188 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.5972, allocations: 255.7 kB / 1.54 GB, free: 7.918 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5972, allocations: 0 / 1.54 GB, free: 7.918 MB / 1.232 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005801/0.5978, allocations: 306.5 kB / 1.54 GB, free: 7.613 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5978, allocations: 8.188 kB / 1.54 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5978, allocations: 4 kB / 1.54 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5978, allocations: 4 kB / 1.54 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.5981, allocations: 51.84 kB / 1.54 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5981, allocations: 0 / 1.54 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5983, allocations: 43.7 kB / 1.54 GB, free: 7.504 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.5984, allocations: 12 kB / 1.54 GB, free: 7.492 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001745/0.5985, allocations: 165.6 kB / 1.54 GB, free: 7.32 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.5986, allocations: 35.81 kB / 1.54 GB, free: 7.285 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.5992, allocations: 296.9 kB / 1.541 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.5992, allocations: 7.938 kB / 1.541 GB, free: 6.98 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5992, allocations: 0 / 1.541 GB, free: 6.98 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5993, allocations: 4.031 kB / 1.541 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.6007, allocations: 0.8811 MB / 1.542 GB, free: 6.012 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6007, allocations: 4 kB / 1.542 GB, free: 6.008 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.6009, allocations: 39.97 kB / 1.542 GB, free: 5.969 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.6009, allocations: 4 kB / 1.542 GB, free: 5.965 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.6009, allocations: 8 kB / 1.542 GB, free: 5.957 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.6009, allocations: 7.938 kB / 1.542 GB, free: 5.949 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6009, allocations: 4 kB / 1.542 GB, free: 5.945 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.6015, allocations: 454.5 kB / 1.542 GB, free: 5.453 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.6017, allocations: 59.72 kB / 1.542 GB, free: 5.395 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.6017, allocations: 7.984 kB / 1.542 GB, free: 5.387 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6019, allocations: 12 kB / 1.542 GB, free: 5.375 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.602, allocations: 31.84 kB / 1.542 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.602, allocations: 8 kB / 1.542 GB, free: 5.336 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003071/0.6023, allocations: 259.1 kB / 1.542 GB, free: 5.082 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6023, allocations: 0 / 1.542 GB, free: 5.082 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004352/0.6028, allocations: 99.89 kB / 1.543 GB, free: 4.984 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001089/0.6039, allocations: 1.037 MB / 1.544 GB, free: 3.883 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.6044, allocations: 229.4 kB / 1.544 GB, free: 3.66 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6044, allocations: 4 kB / 1.544 GB, free: 3.656 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.6047, allocations: 123.8 kB / 1.544 GB, free: 3.535 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.6057, allocations: 222 kB / 1.544 GB, free: 3.324 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.6101, allocations: 3.299 MB / 1.547 GB, free: 15.84 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.6106, allocations: 0.8074 MB / 1.548 GB, free: 15 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000292/0.6109, allocations: 83.23 kB / 1.548 GB, free: 14.92 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.611, allocations: 119.4 kB / 1.548 GB, free: 14.8 MB / 1.248 GB Notification: Performance of SimCode: time 5.21e-07/0.611, allocations: 0 / 1.548 GB, free: 14.8 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.6529, allocations: 11.06 MB / 1.559 GB, free: 3.996 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.91, allocations: 2.906 kB / 1.559 GB, free: 3.996 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 18.863741528009996]