Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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.001661/0.001661, allocations: 97.31 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.001463/0.001463, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.063/3.063, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Boundary,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Boundary",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Boundary",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.001897/0.001897, allocations: 67.39 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2991, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2625/0.5616, allocations: 225.2 MB / 1.547 GB, free: 15.44 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02931/0.5909, allocations: 19.05 MB / 1.565 GB, free: 12.34 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.5935, allocations: 106.9 kB / 1.565 GB, free: 12.24 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.5962, allocations: 0.8688 MB / 1.566 GB, free: 11.36 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008212/0.6044, allocations: 2.967 MB / 1.569 GB, free: 8.383 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007113/0.6115, allocations: 2.853 MB / 1.572 GB, free: 5.535 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005917/0.6174, allocations: 3.862 MB / 1.576 GB, free: 1.66 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.6193, allocations: 0.9142 MB / 1.576 GB, free: 0.7109 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.6299, allocations: 5.082 MB / 1.581 GB, free: 11.62 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.6318, allocations: 1.054 MB / 1.582 GB, free: 10.56 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004144/0.6322, allocations: 112 kB / 1.583 GB, free: 10.45 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006922/0.6391, allocations: 2.943 MB / 1.585 GB, free: 7.5 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0009359/0.6401, allocations: 0.6541 MB / 1.586 GB, free: 6.844 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.6416, allocations: 0.7814 MB / 1.587 GB, free: 6.059 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009085/0.6507, allocations: 4.088 MB / 1.591 GB, free: 1.957 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6507, allocations: 11.94 kB / 1.591 GB, free: 1.945 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6507, allocations: 0 / 1.591 GB, free: 1.945 MB / 1.279 GB Notification: Performance of Transformations before backend: time 7.87e-05/0.6508, allocations: 0 / 1.591 GB, free: 1.945 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003919/0.6547, allocations: 2.283 MB / 1.593 GB, free: 15.62 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6547, allocations: 8.031 kB / 1.593 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.674e-05/0.6548, allocations: 34.44 kB / 1.593 GB, free: 15.58 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.655, allocations: 186 kB / 1.593 GB, free: 15.39 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.6571, allocations: 498.2 kB / 1.594 GB, free: 14.9 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.6593, allocations: 1.313 MB / 1.595 GB, free: 13.54 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.6594, allocations: 98.42 kB / 1.595 GB, free: 13.44 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.6596, allocations: 128 kB / 1.595 GB, free: 13.32 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.6622, allocations: 1.712 MB / 1.597 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.6622, allocations: 7.922 kB / 1.597 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6623, allocations: 55.94 kB / 1.597 GB, free: 11.4 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/0.6624, allocations: 71.72 kB / 1.597 GB, free: 11.33 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.6641, allocations: 1.215 MB / 1.598 GB, free: 10.12 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.006903/0.671, allocations: 6.366 MB / 1.604 GB, free: 3.562 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009315/0.6719, allocations: 0.6343 MB / 1.605 GB, free: 2.836 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/0.6727, allocations: 0.5952 MB / 1.606 GB, free: 2.211 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007811/0.6734, allocations: 227.8 kB / 1.606 GB, free: 1.988 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.6735, allocations: 58.48 kB / 1.606 GB, free: 1.922 MB / 1.295 GB Notification: Performance of pre-optimization done (n=72): time 3.076e-06/0.6735, allocations: 0 / 1.606 GB, free: 1.922 MB / 1.295 GB Notification: Performance of matching and sorting (n=72): time 0.002383/0.6759, allocations: 1.389 MB / 1.607 GB, free: 0.5273 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.676, allocations: 302.7 kB / 1.608 GB, free: 168 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6305/1.307, allocations: 1.88 MB / 1.609 GB, free: 281.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.307, allocations: 40.58 kB / 1.609 GB, free: 281.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/1.307, allocations: 0.733 MB / 1.61 GB, free: 281.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/1.307, allocations: 256.9 kB / 1.61 GB, free: 281.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.308, allocations: 133.5 kB / 1.611 GB, free: 281 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/1.308, allocations: 332.9 kB / 1.611 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/1.308, allocations: 327.5 kB / 1.611 GB, free: 280.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/1.309, allocations: 0.9917 MB / 1.612 GB, free: 279.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.31, allocations: 0.8611 MB / 1.613 GB, free: 279.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.31, allocations: 0.7812 kB / 1.613 GB, free: 279.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001749/1.312, allocations: 1.026 MB / 1.614 GB, free: 279.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.312, allocations: 8.312 kB / 1.614 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.312, allocations: 7.406 kB / 1.614 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/1.312, allocations: 6.906 kB / 1.614 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.313, allocations: 122.8 kB / 1.614 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/1.313, allocations: 10.66 kB / 1.614 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/1.313, allocations: 135.9 kB / 1.614 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.313, allocations: 46.62 kB / 1.614 GB, free: 279 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0006567/1.314, allocations: 454.7 kB / 1.615 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/1.314, allocations: 203.5 kB / 1.615 GB, free: 278.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/1.316, allocations: 1.099 MB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/1.316, allocations: 13.2 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.316, allocations: 3.953 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.316, allocations: 6.984 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.33, allocations: 7.701 MB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/1.33, allocations: 14.66 kB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/1.331, allocations: 141.2 kB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/1.331, allocations: 20.28 kB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/1.331, allocations: 35.78 kB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-05/1.331, allocations: 30.66 kB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-05/1.331, allocations: 28.91 kB / 1.624 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.333, allocations: 1.687 MB / 1.625 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.333, allocations: 342.5 kB / 1.626 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/1.334, allocations: 38.77 kB / 1.626 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/1.334, allocations: 23.77 kB / 1.626 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.334, allocations: 112.4 kB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/1.334, allocations: 51.28 kB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001837/1.336, allocations: 1.321 MB / 1.627 GB, free: 272.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.336, allocations: 1.094 kB / 1.627 GB, free: 272.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001742/1.338, allocations: 0.5243 MB / 1.628 GB, free: 272.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003471/1.342, allocations: 3.004 MB / 1.631 GB, free: 270.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.343, allocations: 0.8335 MB / 1.632 GB, free: 270.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.343, allocations: 2.344 kB / 1.632 GB, free: 270.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/1.343, allocations: 481.2 kB / 1.632 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/1.349, allocations: 1.339 MB / 1.633 GB, free: 270 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.364, allocations: 13.93 MB / 1.647 GB, free: 263 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/1.365, allocations: 0.8241 MB / 1.648 GB, free: 262.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00143/1.366, allocations: 481 kB / 1.648 GB, free: 262.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/1.367, allocations: 0.655 MB / 1.649 GB, free: 261.5 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.367, allocations: 3.531 kB / 1.649 GB, free: 261.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0838/1.451, allocations: 64 MB / 1.711 GB, free: 198.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.84, allocations: 12.05 kB / 1.711 GB, free: 198.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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: 23.764853597967885]