Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.001444/0.001444, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001595/0.001595, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] 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 2.918/2.918, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.001856/0.001856, allocations: 68.34 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3211, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2435/0.5646, allocations: 218.4 MB / 1.566 GB, free: 13.32 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.5817, allocations: 12.28 MB / 1.578 GB, free: 1.004 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.583, allocations: 63.38 kB / 1.578 GB, free: 0.9414 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.5845, allocations: 0.5119 MB / 1.579 GB, free: 436 kB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.5894, allocations: 1.988 MB / 1.581 GB, free: 14.43 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.5944, allocations: 2.03 MB / 1.583 GB, free: 12.41 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003368/0.5977, allocations: 2.426 MB / 1.585 GB, free: 9.969 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.5993, allocations: 0.8265 MB / 1.586 GB, free: 9.121 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006744/0.606, allocations: 3.158 MB / 1.589 GB, free: 5.953 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.6072, allocations: 0.6885 MB / 1.589 GB, free: 5.262 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.6075, allocations: 88 kB / 1.59 GB, free: 5.176 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/0.6127, allocations: 2.654 MB / 1.592 GB, free: 2.516 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0006109/0.6133, allocations: 0.553 MB / 1.593 GB, free: 1.961 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0008758/0.6142, allocations: 0.7231 MB / 1.593 GB, free: 1.234 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.6192, allocations: 3.107 MB / 1.596 GB, free: 14.12 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6192, allocations: 4 kB / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6192, allocations: 4 kB / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.6192, allocations: 0 / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002411/0.6217, allocations: 1.709 MB / 1.598 GB, free: 12.36 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6217, allocations: 8.031 kB / 1.598 GB, free: 12.35 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.6219, allocations: 164.6 kB / 1.598 GB, free: 12.18 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6234, allocations: 374.7 kB / 1.599 GB, free: 11.81 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.625, allocations: 0.8907 MB / 1.6 GB, free: 10.89 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.6251, allocations: 78.03 kB / 1.6 GB, free: 10.82 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6252, allocations: 100 kB / 1.6 GB, free: 10.72 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.6273, allocations: 1.513 MB / 1.601 GB, free: 9.094 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.6274, allocations: 11.92 kB / 1.601 GB, free: 9.082 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/0.6275, allocations: 51.94 kB / 1.601 GB, free: 9.031 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.6275, allocations: 61.47 kB / 1.601 GB, free: 8.973 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.6289, allocations: 1.009 MB / 1.602 GB, free: 7.965 MB / 1.295 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.0062/0.6351, allocations: 5.629 MB / 1.608 GB, free: 2.066 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.6357, allocations: 314.2 kB / 1.608 GB, free: 1.723 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.636, allocations: 247.3 kB / 1.608 GB, free: 1.469 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.6365, allocations: 103.9 kB / 1.608 GB, free: 1.367 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.6365, allocations: 42.56 kB / 1.608 GB, free: 1.316 MB / 1.295 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.6365, allocations: 0 / 1.608 GB, free: 1.316 MB / 1.295 GB Notification: Performance of matching and sorting (n=28): time 0.001306/0.6378, allocations: 0.6768 MB / 1.609 GB, free: 0.6328 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.6379, allocations: 132.5 kB / 1.609 GB, free: 484 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.574/1.212, allocations: 1.658 MB / 1.611 GB, free: 257.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/1.212, allocations: 32.45 kB / 1.611 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/1.212, allocations: 0.5499 MB / 1.611 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/1.212, allocations: 102.8 kB / 1.612 GB, free: 257.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.213, allocations: 71.38 kB / 1.612 GB, free: 257.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/1.213, allocations: 320.6 kB / 1.612 GB, free: 257.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.213, allocations: 159.6 kB / 1.612 GB, free: 257.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/1.213, allocations: 289.6 kB / 1.612 GB, free: 257.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/1.214, allocations: 427.3 kB / 1.613 GB, free: 257.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.214, allocations: 0.6562 kB / 1.613 GB, free: 257.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007891/1.214, allocations: 0.5682 MB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.214, allocations: 9.625 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.214, allocations: 2.812 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.215, allocations: 4.219 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.215, allocations: 63.19 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.215, allocations: 4.844 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/1.215, allocations: 110.7 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/1.215, allocations: 26.11 kB / 1.613 GB, free: 256.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 32 * 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.0003793/1.216, allocations: 379.5 kB / 1.614 GB, free: 256.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/1.216, allocations: 143.8 kB / 1.614 GB, free: 256.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/1.216, allocations: 388.2 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.216, allocations: 8.531 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.216, allocations: 1.594 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.216, allocations: 1.578 kB / 1.614 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/1.219, allocations: 2.336 MB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.219, allocations: 10.22 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.22, allocations: 51.95 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.22, allocations: 11.56 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.22, allocations: 9.297 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/1.22, allocations: 13.14 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.22, allocations: 15.17 kB / 1.617 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/1.22, allocations: 0.6249 MB / 1.617 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/1.221, allocations: 227.3 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.221, allocations: 15.03 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/1.221, allocations: 11.52 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/1.221, allocations: 45.48 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/1.221, allocations: 15.14 kB / 1.618 GB, free: 254.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001682/1.223, allocations: 1.205 MB / 1.619 GB, free: 254 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 0 / 1.619 GB, free: 254 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009016/1.224, allocations: 336.3 kB / 1.619 GB, free: 254 MB / 1.295 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.00166/1.226, allocations: 1.646 MB / 1.621 GB, free: 253 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0004826/1.226, allocations: 351.4 kB / 1.621 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.226, allocations: 4.812 kB / 1.621 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/1.226, allocations: 159.3 kB / 1.621 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.229, allocations: 0.9327 MB / 1.622 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.241, allocations: 10.41 MB / 1.632 GB, free: 248 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/1.242, allocations: 1.199 MB / 1.634 GB, free: 247.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009899/1.243, allocations: 298 kB / 1.634 GB, free: 247.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/1.243, allocations: 461 kB / 1.634 GB, free: 246.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.22e-07/1.243, allocations: 3.938 kB / 1.634 GB, free: 246.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07127/1.315, allocations: 44.22 MB / 1.677 GB, free: 216.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.7, allocations: 6.125 kB / 1.677 GB, free: 216.1 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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: 19.873651694972068]