Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.00136/0.00136, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001354/0.001354, allocations: 213.5 kB / 23.03 MB, free: 4.926 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.043/3.043, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",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.001986/0.001986, allocations: 66.81 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2196/0.5512, allocations: 189.6 MB / 1.53 GB, free: 1.672 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.5665, allocations: 11.22 MB / 1.541 GB, free: 6.422 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.5678, allocations: 63.38 kB / 1.541 GB, free: 6.359 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.5692, allocations: 0.5314 MB / 1.542 GB, free: 5.824 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00475/0.5739, allocations: 1.91 MB / 1.544 GB, free: 3.906 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.5791, allocations: 1.97 MB / 1.546 GB, free: 1.941 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003961/0.5831, allocations: 2.391 MB / 1.548 GB, free: 15.54 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.5849, allocations: 0.8618 MB / 1.549 GB, free: 14.66 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007278/0.5922, allocations: 3.15 MB / 1.552 GB, free: 11.5 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.5936, allocations: 0.6962 MB / 1.553 GB, free: 10.8 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.5939, allocations: 92 kB / 1.553 GB, free: 10.71 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.5985, allocations: 2.092 MB / 1.555 GB, free: 8.609 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007663/0.5993, allocations: 0.5492 MB / 1.555 GB, free: 8.059 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.6005, allocations: 0.5911 MB / 1.556 GB, free: 7.465 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00551/0.606, allocations: 3.08 MB / 1.559 GB, free: 4.375 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.606, allocations: 0 / 1.559 GB, free: 4.375 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.272e-06/0.606, allocations: 0 / 1.559 GB, free: 4.375 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.753e-05/0.6061, allocations: 0 / 1.559 GB, free: 4.375 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002913/0.609, allocations: 1.717 MB / 1.561 GB, free: 2.617 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.609, allocations: 8.031 kB / 1.561 GB, free: 2.609 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.772e-05/0.609, allocations: 34.06 kB / 1.561 GB, free: 2.574 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.6093, allocations: 168.7 kB / 1.561 GB, free: 2.398 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.611, allocations: 378.7 kB / 1.561 GB, free: 2.027 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6125, allocations: 0.91 MB / 1.562 GB, free: 1.086 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.6126, allocations: 78.06 kB / 1.562 GB, free: 1.008 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.6127, allocations: 100 kB / 1.562 GB, free: 0.9102 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.6153, allocations: 1.988 MB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.6153, allocations: 3.938 kB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6154, allocations: 51.94 kB / 1.564 GB, free: 14.64 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-05/0.6155, allocations: 57.64 kB / 1.564 GB, free: 14.59 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.6169, allocations: 1.025 MB / 1.565 GB, free: 13.57 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.6228, allocations: 4.914 MB / 1.57 GB, free: 8.504 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.6234, allocations: 306.1 kB / 1.57 GB, free: 8.168 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.6237, allocations: 243.4 kB / 1.571 GB, free: 7.918 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.6241, allocations: 111.9 kB / 1.571 GB, free: 7.809 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.6242, allocations: 42.56 kB / 1.571 GB, free: 7.758 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/0.6242, allocations: 0 / 1.571 GB, free: 7.758 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001328/0.6255, allocations: 0.6802 MB / 1.571 GB, free: 7.07 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.6256, allocations: 136.5 kB / 1.572 GB, free: 6.906 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.6276, allocations: 1.682 MB / 1.573 GB, free: 5.215 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.6277, allocations: 33.7 kB / 1.573 GB, free: 5.176 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.6282, allocations: 0.5623 MB / 1.574 GB, free: 4.609 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.6283, allocations: 99.16 kB / 1.574 GB, free: 4.512 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.6284, allocations: 61.69 kB / 1.574 GB, free: 4.445 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6286, allocations: 326.1 kB / 1.574 GB, free: 4.121 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.6288, allocations: 151.9 kB / 1.574 GB, free: 3.973 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.6292, allocations: 426.7 kB / 1.575 GB, free: 3.488 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.6297, allocations: 404.2 kB / 1.575 GB, free: 3.062 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6297, allocations: 0 / 1.575 GB, free: 3.062 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008131/0.6305, allocations: 0.5556 MB / 1.576 GB, free: 2.5 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6305, allocations: 8 kB / 1.576 GB, free: 2.492 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6305, allocations: 7.938 kB / 1.576 GB, free: 2.484 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6306, allocations: 4 kB / 1.576 GB, free: 2.48 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.6308, allocations: 55.84 kB / 1.576 GB, free: 2.426 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.6308, allocations: 4 kB / 1.576 GB, free: 2.422 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.6313, allocations: 110.9 kB / 1.576 GB, free: 2.312 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.6314, allocations: 24.06 kB / 1.576 GB, free: 2.289 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004867/0.6318, allocations: 386.4 kB / 1.576 GB, free: 1.902 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.6321, allocations: 143.1 kB / 1.576 GB, free: 1.762 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.6327, allocations: 393.1 kB / 1.577 GB, free: 1.355 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.6327, allocations: 7.938 kB / 1.577 GB, free: 1.348 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6327, allocations: 4 kB / 1.577 GB, free: 1.344 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6327, allocations: 0 / 1.577 GB, free: 1.344 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.636, allocations: 2.238 MB / 1.579 GB, free: 14.96 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.636, allocations: 12.16 kB / 1.579 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.6362, allocations: 55.91 kB / 1.579 GB, free: 14.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.6363, allocations: 8 kB / 1.579 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.6363, allocations: 8 kB / 1.579 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.6363, allocations: 16 kB / 1.579 GB, free: 14.87 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.6363, allocations: 7.938 kB / 1.579 GB, free: 14.86 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.637, allocations: 0.6309 MB / 1.58 GB, free: 14.13 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.6375, allocations: 226.9 kB / 1.58 GB, free: 13.91 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.6377, allocations: 15.95 kB / 1.58 GB, free: 13.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.6381, allocations: 12 kB / 1.58 GB, free: 13.88 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.6382, allocations: 39.77 kB / 1.58 GB, free: 13.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.6382, allocations: 16 kB / 1.58 GB, free: 13.82 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001661/0.6399, allocations: 1.227 MB / 1.581 GB, free: 12.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6399, allocations: 0 / 1.581 GB, free: 12.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001008/0.6409, allocations: 335.4 kB / 1.582 GB, free: 12.27 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.002435/0.6433, allocations: 1.658 MB / 1.583 GB, free: 10.51 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.6439, allocations: 335.5 kB / 1.583 GB, free: 10.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6439, allocations: 4 kB / 1.583 GB, free: 10.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.6441, allocations: 157 kB / 1.584 GB, free: 10.03 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/0.648, allocations: 0.9291 MB / 1.585 GB, free: 9.129 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.6631, allocations: 10.52 MB / 1.595 GB, free: 14.26 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.6639, allocations: 0.6148 MB / 1.595 GB, free: 13.61 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00093/0.6648, allocations: 298.7 kB / 1.596 GB, free: 13.32 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/0.6654, allocations: 459.3 kB / 1.596 GB, free: 12.87 MB / 1.295 GB Notification: Performance of SimCode: time 8.61e-07/0.6654, allocations: 0 / 1.596 GB, free: 12.87 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6466/1.312, allocations: 47.53 MB / 1.643 GB, free: 254.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.13, allocations: 6.016 kB / 1.643 GB, free: 254.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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: 21.69893396901898]