Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, 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.001576/0.001576, allocations: 218.4 kB / 22.26 MB, free: 5.121 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.91/2.91, allocations: 0.49 GB / 0.7951 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_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.001887/0.001887, allocations: 64.75 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2989, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2417/0.5407, allocations: 218.3 MB / 1.539 GB, free: 6.82 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.5565, allocations: 12.29 MB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.5578, allocations: 63.38 kB / 1.551 GB, free: 10.44 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.5593, allocations: 0.5157 MB / 1.552 GB, free: 9.918 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.5641, allocations: 1.995 MB / 1.554 GB, free: 7.914 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.5687, allocations: 2.016 MB / 1.556 GB, free: 5.902 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.572, allocations: 2.43 MB / 1.558 GB, free: 3.461 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.5735, allocations: 0.8343 MB / 1.559 GB, free: 2.602 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00644/0.58, allocations: 3.15 MB / 1.562 GB, free: 15.44 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.5812, allocations: 0.6962 MB / 1.563 GB, free: 14.74 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.5814, allocations: 88 kB / 1.563 GB, free: 14.66 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005089/0.5865, allocations: 2.665 MB / 1.565 GB, free: 11.99 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.5871, allocations: 0.5453 MB / 1.566 GB, free: 11.44 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.5883, allocations: 0.727 MB / 1.566 GB, free: 10.71 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.5937, allocations: 3.107 MB / 1.57 GB, free: 7.594 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5937, allocations: 0 / 1.57 GB, free: 7.594 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5937, allocations: 0 / 1.57 GB, free: 7.594 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.958e-05/0.5937, allocations: 0 / 1.57 GB, free: 7.594 MB / 1.264 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.003061/0.5968, allocations: 1.709 MB / 1.571 GB, free: 5.844 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5968, allocations: 15.97 kB / 1.571 GB, free: 5.828 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002542/0.5971, allocations: 164.6 kB / 1.571 GB, free: 5.656 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.5988, allocations: 378.6 kB / 1.572 GB, free: 5.285 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.6005, allocations: 0.8946 MB / 1.573 GB, free: 4.359 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.6005, allocations: 78.03 kB / 1.573 GB, free: 4.281 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.6007, allocations: 96 kB / 1.573 GB, free: 4.188 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.6029, allocations: 1.509 MB / 1.574 GB, free: 2.57 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.6029, allocations: 3.938 kB / 1.574 GB, free: 2.566 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.603, allocations: 55.92 kB / 1.574 GB, free: 2.512 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.349e-05/0.6031, allocations: 57.47 kB / 1.574 GB, free: 2.457 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.6045, allocations: 1.013 MB / 1.575 GB, free: 1.445 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.006145/0.6106, allocations: 5.617 MB / 1.581 GB, free: 11.55 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.6112, allocations: 310.2 kB / 1.581 GB, free: 11.21 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6115, allocations: 243.5 kB / 1.581 GB, free: 10.96 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/0.6119, allocations: 119.9 kB / 1.581 GB, free: 10.85 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.6119, allocations: 42.55 kB / 1.581 GB, free: 10.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.6119, allocations: 0 / 1.581 GB, free: 10.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001257/0.6132, allocations: 0.6722 MB / 1.582 GB, free: 10.12 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.6133, allocations: 132.5 kB / 1.582 GB, free: 9.957 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.6153, allocations: 1.658 MB / 1.584 GB, free: 8.289 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.6153, allocations: 33.7 kB / 1.584 GB, free: 8.25 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.6158, allocations: 0.5465 MB / 1.584 GB, free: 7.699 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.6159, allocations: 107.3 kB / 1.585 GB, free: 7.594 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.616, allocations: 73.58 kB / 1.585 GB, free: 7.516 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6162, allocations: 321.9 kB / 1.585 GB, free: 7.195 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.6164, allocations: 167.9 kB / 1.585 GB, free: 7.031 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.6167, allocations: 290.1 kB / 1.585 GB, free: 6.711 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.6172, allocations: 430.6 kB / 1.586 GB, free: 6.254 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6172, allocations: 0 / 1.586 GB, free: 6.254 MB / 1.279 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007947/0.618, allocations: 0.5705 MB / 1.586 GB, free: 5.676 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.618, allocations: 12.19 kB / 1.586 GB, free: 5.664 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.618, allocations: 4 kB / 1.586 GB, free: 5.66 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6181, allocations: 4 kB / 1.586 GB, free: 5.656 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.6183, allocations: 63.91 kB / 1.586 GB, free: 5.594 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.6183, allocations: 4 kB / 1.586 GB, free: 5.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.6189, allocations: 103 kB / 1.587 GB, free: 5.488 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.6189, allocations: 19.98 kB / 1.587 GB, free: 5.469 MB / 1.279 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.0005225/0.6195, allocations: 381.5 kB / 1.587 GB, free: 5.086 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.6197, allocations: 147.1 kB / 1.587 GB, free: 4.941 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.6204, allocations: 393 kB / 1.587 GB, free: 4.535 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6204, allocations: 4 kB / 1.587 GB, free: 4.531 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6204, allocations: 0 / 1.587 GB, free: 4.531 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.6204, allocations: 4 kB / 1.587 GB, free: 4.527 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.6242, allocations: 2.334 MB / 1.59 GB, free: 2.055 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6242, allocations: 8 kB / 1.59 GB, free: 2.047 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.6244, allocations: 51.92 kB / 1.59 GB, free: 1.996 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.6244, allocations: 7.938 kB / 1.59 GB, free: 1.988 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.6245, allocations: 16 kB / 1.59 GB, free: 1.973 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.6245, allocations: 11.94 kB / 1.59 GB, free: 1.961 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.6245, allocations: 7.938 kB / 1.59 GB, free: 1.953 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.6253, allocations: 0.6292 MB / 1.59 GB, free: 1.227 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.6258, allocations: 222.9 kB / 1.591 GB, free: 1.008 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.6261, allocations: 23.98 kB / 1.591 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.6264, allocations: 11.94 kB / 1.591 GB, free: 0.9727 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.6265, allocations: 35.78 kB / 1.591 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.6265, allocations: 20 kB / 1.591 GB, free: 0.918 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001691/0.6282, allocations: 1.211 MB / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.6282, allocations: 0 / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001145/0.6293, allocations: 327.4 kB / 1.592 GB, free: 15.39 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.002598/0.6319, allocations: 1.653 MB / 1.594 GB, free: 13.63 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.6325, allocations: 343.8 kB / 1.594 GB, free: 13.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.6325, allocations: 4.5 kB / 1.594 GB, free: 13.29 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.6327, allocations: 159.6 kB / 1.594 GB, free: 13.14 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/0.6362, allocations: 0.9238 MB / 1.595 GB, free: 12.24 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.6505, allocations: 10.42 MB / 1.605 GB, free: 1.465 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000944/0.6514, allocations: 1.208 MB / 1.607 GB, free: 232 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.5478/1.199, allocations: 290.9 kB / 1.607 GB, free: 279.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/1.2, allocations: 456.9 kB / 1.607 GB, free: 279.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.032e-06/1.2, allocations: 0.8125 kB / 1.607 GB, free: 279.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.301, allocations: 44.22 MB / 1.65 GB, free: 260.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.67, allocations: 7.75 kB / 1.65 GB, free: 260.2 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.83292397786863]