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.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.001768/0.001768, allocations: 110.6 kB / 16.46 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.002071/0.002071, 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.372/1.372, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 497.2 MB / 0.7811 GB, free: 33.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 66.95 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2759/0.6227, allocations: 214.9 MB / 1.514 GB, free: 9.871 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02564/0.6483, allocations: 12.22 MB / 1.526 GB, free: 13.62 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.6505, allocations: 39.69 kB / 1.526 GB, free: 13.58 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.6526, allocations: 0.5119 MB / 1.526 GB, free: 13.06 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.659, allocations: 1.964 MB / 1.528 GB, free: 11.09 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.6641, allocations: 1.939 MB / 1.53 GB, free: 9.156 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003501/0.6676, allocations: 2.344 MB / 1.532 GB, free: 6.805 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.6695, allocations: 1.002 MB / 1.533 GB, free: 5.777 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/0.6762, allocations: 3.002 MB / 1.536 GB, free: 2.766 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.6775, allocations: 0.7001 MB / 1.537 GB, free: 2.062 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.6778, allocations: 92 kB / 1.537 GB, free: 1.973 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005602/0.6834, allocations: 2.619 MB / 1.54 GB, free: 15.35 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008023/0.6842, allocations: 0.5531 MB / 1.54 GB, free: 14.79 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.6857, allocations: 0.7386 MB / 1.541 GB, free: 14.05 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006304/0.692, allocations: 3.115 MB / 1.544 GB, free: 10.93 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.692, allocations: 3.984 kB / 1.544 GB, free: 10.92 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.903e-06/0.692, allocations: 0 / 1.544 GB, free: 10.92 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.384e-05/0.6921, allocations: 0 / 1.544 GB, free: 10.92 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.003868/0.6959, allocations: 1.793 MB / 1.546 GB, free: 9.07 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.696, allocations: 8.625 kB / 1.546 GB, free: 9.062 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004678/0.6964, allocations: 176.7 kB / 1.546 GB, free: 8.879 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6985, allocations: 386.5 kB / 1.546 GB, free: 8.5 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.7006, allocations: 0.9667 MB / 1.547 GB, free: 7.492 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.7007, allocations: 78.06 kB / 1.547 GB, free: 7.414 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.7009, allocations: 104 kB / 1.547 GB, free: 7.312 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.7036, allocations: 1.525 MB / 1.549 GB, free: 5.676 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.7036, allocations: 11.86 kB / 1.549 GB, free: 5.664 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.7037, allocations: 51.94 kB / 1.549 GB, free: 5.613 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-05/0.7038, allocations: 57.55 kB / 1.549 GB, free: 5.559 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.7054, allocations: 1.029 MB / 1.55 GB, free: 4.527 MB / 1.248 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.007885/0.7133, allocations: 5.866 MB / 1.556 GB, free: 14.35 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.714, allocations: 306.2 kB / 1.556 GB, free: 14.02 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.7144, allocations: 239.3 kB / 1.556 GB, free: 13.77 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.7153, allocations: 0.7081 MB / 1.557 GB, free: 12.91 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.7153, allocations: 46.48 kB / 1.557 GB, free: 12.86 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.7153, allocations: 0 / 1.557 GB, free: 12.86 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001508/0.7168, allocations: 0.6683 MB / 1.558 GB, free: 12.18 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.717, allocations: 140.4 kB / 1.558 GB, free: 12.02 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.7198, allocations: 1.674 MB / 1.559 GB, free: 10.33 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.7198, allocations: 33.7 kB / 1.559 GB, free: 10.29 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006307/0.7205, allocations: 0.578 MB / 1.56 GB, free: 9.711 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.7206, allocations: 95.17 kB / 1.56 GB, free: 9.617 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7207, allocations: 69.64 kB / 1.56 GB, free: 9.543 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7208, allocations: 310 kB / 1.56 GB, free: 9.234 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.7211, allocations: 159.9 kB / 1.561 GB, free: 9.078 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.7214, allocations: 274 kB / 1.561 GB, free: 8.781 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.7219, allocations: 416.9 kB / 1.561 GB, free: 8.344 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7219, allocations: 0 / 1.561 GB, free: 8.344 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009471/0.7229, allocations: 0.551 MB / 1.562 GB, free: 7.785 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.7229, allocations: 7.984 kB / 1.562 GB, free: 7.777 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7229, allocations: 4 kB / 1.562 GB, free: 7.773 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.723, allocations: 4 kB / 1.562 GB, free: 7.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.7232, allocations: 56.11 kB / 1.562 GB, free: 7.715 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.7232, allocations: 7.938 kB / 1.562 GB, free: 7.707 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.7238, allocations: 114.9 kB / 1.562 GB, free: 7.594 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.724, allocations: 20 kB / 1.562 GB, free: 7.574 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.0005693/0.7245, allocations: 377.6 kB / 1.562 GB, free: 7.195 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.7249, allocations: 147.1 kB / 1.562 GB, free: 7.051 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.7256, allocations: 376.8 kB / 1.563 GB, free: 6.66 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7256, allocations: 4 kB / 1.563 GB, free: 6.656 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7256, allocations: 4.031 kB / 1.563 GB, free: 6.652 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7256, allocations: 11.97 kB / 1.563 GB, free: 6.641 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.7296, allocations: 2.514 MB / 1.565 GB, free: 3.945 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.7297, allocations: 15.97 kB / 1.565 GB, free: 3.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.73, allocations: 55.91 kB / 1.565 GB, free: 3.875 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.73, allocations: 8 kB / 1.565 GB, free: 3.867 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.73, allocations: 11.94 kB / 1.565 GB, free: 3.855 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.73, allocations: 8 kB / 1.565 GB, free: 3.848 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.73, allocations: 8.25 kB / 1.565 GB, free: 3.84 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.731, allocations: 0.627 MB / 1.566 GB, free: 3.113 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/0.7316, allocations: 300 kB / 1.566 GB, free: 2.801 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.7319, allocations: 19.92 kB / 1.566 GB, free: 2.781 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.7323, allocations: 12 kB / 1.566 GB, free: 2.77 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.7324, allocations: 31.86 kB / 1.566 GB, free: 2.738 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.7324, allocations: 19.98 kB / 1.566 GB, free: 2.719 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002387/0.7348, allocations: 1.227 MB / 1.568 GB, free: 1.496 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7348, allocations: 0 / 1.568 GB, free: 1.496 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001552/0.7364, allocations: 339.3 kB / 1.568 GB, free: 1.164 MB / 1.264 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.003665/0.74, allocations: 1.68 MB / 1.57 GB, free: 15.39 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0008534/0.7409, allocations: 343.5 kB / 1.57 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7409, allocations: 0 / 1.57 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.7412, allocations: 163.9 kB / 1.57 GB, free: 14.89 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/0.7473, allocations: 0.923 MB / 1.571 GB, free: 14 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/0.7711, allocations: 10.51 MB / 1.581 GB, free: 3.148 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.7727, allocations: 1.216 MB / 1.582 GB, free: 1.902 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001966/0.7746, allocations: 306.5 kB / 1.583 GB, free: 1.598 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009363/0.7756, allocations: 459.3 kB / 1.583 GB, free: 1.148 MB / 1.279 GB Notification: Performance of SimCode: time 1.904e-06/0.7756, allocations: 0 / 1.583 GB, free: 1.148 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8568/1.632, allocations: 44.19 MB / 1.626 GB, free: 308.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.58, allocations: 8.812 kB / 1.626 GB, free: 308.6 MB / 1.311 GB " [Timeout remaining time 287] (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_2/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: 18.989107491914183]