Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00171/0.00171, 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.002078/0.002078, allocations: 214.9 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.091/3.091, 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.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_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.001886/0.001886, allocations: 63.11 kB / 1.17 GB, free: 19.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3087, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2621/0.5708, allocations: 225.2 MB / 1.565 GB, free: 13.93 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02839/0.5992, allocations: 19.05 MB / 1.584 GB, free: 10.83 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.6015, allocations: 110.9 kB / 1.584 GB, free: 10.72 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.604, allocations: 0.8571 MB / 1.585 GB, free: 9.859 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008224/0.6122, allocations: 2.975 MB / 1.588 GB, free: 6.871 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0073/0.6195, allocations: 2.851 MB / 1.59 GB, free: 4.027 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005856/0.6254, allocations: 3.87 MB / 1.594 GB, free: 148 kB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.6277, allocations: 0.9103 MB / 1.595 GB, free: 15.2 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/0.6393, allocations: 5.087 MB / 1.6 GB, free: 10.11 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.6414, allocations: 1.054 MB / 1.601 GB, free: 9.047 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0005418/0.642, allocations: 108 kB / 1.601 GB, free: 8.941 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007138/0.6491, allocations: 2.935 MB / 1.604 GB, free: 6 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.6502, allocations: 0.6697 MB / 1.605 GB, free: 5.328 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.652, allocations: 0.7737 MB / 1.605 GB, free: 4.551 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.6599, allocations: 4.096 MB / 1.609 GB, free: 452 kB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6599, allocations: 4 kB / 1.609 GB, free: 448 kB / 1.295 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6599, allocations: 3.938 kB / 1.609 GB, free: 444 kB / 1.295 GB Notification: Performance of Transformations before backend: time 8.147e-05/0.66, allocations: 0 / 1.609 GB, free: 444 kB / 1.295 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.6879/1.348, allocations: 2.278 MB / 1.612 GB, free: 19.46 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.348, allocations: 13.25 kB / 1.612 GB, free: 19.46 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.729e-05/1.348, allocations: 32.41 kB / 1.612 GB, free: 19.45 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/1.348, allocations: 192.5 kB / 1.612 GB, free: 19.41 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/1.351, allocations: 491.3 kB / 1.612 GB, free: 19.3 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/1.354, allocations: 1.306 MB / 1.614 GB, free: 18.9 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.354, allocations: 96.75 kB / 1.614 GB, free: 18.9 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/1.354, allocations: 129.3 kB / 1.614 GB, free: 18.9 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/1.357, allocations: 1.713 MB / 1.616 GB, free: 18.53 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/1.357, allocations: 6.5 kB / 1.616 GB, free: 18.53 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/1.357, allocations: 55.69 kB / 1.616 GB, free: 18.53 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/1.357, allocations: 63.72 kB / 1.616 GB, free: 18.53 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/1.359, allocations: 1.221 MB / 1.617 GB, free: 18.53 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.007892/1.367, allocations: 6.358 MB / 1.623 GB, free: 15.07 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009086/1.368, allocations: 0.6416 MB / 1.624 GB, free: 14.84 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/1.369, allocations: 0.5831 MB / 1.624 GB, free: 14.76 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008227/1.37, allocations: 233.6 kB / 1.625 GB, free: 14.76 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.37, allocations: 54.09 kB / 1.625 GB, free: 14.72 MB / 1.295 GB Notification: Performance of pre-optimization done (n=72): time 3.647e-06/1.37, allocations: 0 / 1.625 GB, free: 14.72 MB / 1.295 GB Notification: Performance of matching and sorting (n=72): time 0.002808/1.372, allocations: 1.409 MB / 1.626 GB, free: 14.58 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/1.372, allocations: 293.8 kB / 1.626 GB, free: 14.23 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/1.376, allocations: 1.886 MB / 1.628 GB, free: 14.02 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 9.97e-05/1.376, allocations: 42.36 kB / 1.628 GB, free: 13.99 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006055/1.376, allocations: 0.7289 MB / 1.629 GB, free: 13.86 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/1.377, allocations: 257 kB / 1.629 GB, free: 13.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/1.377, allocations: 135.5 kB / 1.629 GB, free: 13.68 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/1.377, allocations: 332.1 kB / 1.63 GB, free: 13.38 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/1.377, allocations: 326.1 kB / 1.63 GB, free: 13.38 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/1.378, allocations: 0.9906 MB / 1.631 GB, free: 12.71 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/1.379, allocations: 0.8615 MB / 1.632 GB, free: 12.59 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.379, allocations: 1.812 kB / 1.632 GB, free: 12.59 MB / 1.295 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001549/1.38, allocations: 1.023 MB / 1.633 GB, free: 12.45 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.38, allocations: 7.5 kB / 1.633 GB, free: 12.45 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.38, allocations: 4.844 kB / 1.633 GB, free: 12.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/1.38, allocations: 11.19 kB / 1.633 GB, free: 12.44 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/1.381, allocations: 120.5 kB / 1.633 GB, free: 12.44 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.381, allocations: 12.77 kB / 1.633 GB, free: 12.44 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009358/1.382, allocations: 134.5 kB / 1.633 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/1.382, allocations: 44.7 kB / 1.633 GB, free: 12.36 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.0006341/1.383, allocations: 454.5 kB / 1.633 GB, free: 12.24 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/1.383, allocations: 197.6 kB / 1.634 GB, free: 12.14 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.385, allocations: 1.093 MB / 1.635 GB, free: 12.07 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/1.385, allocations: 16.55 kB / 1.635 GB, free: 12.07 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.385, allocations: 3.219 kB / 1.635 GB, free: 12.07 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.385, allocations: 6.562 kB / 1.635 GB, free: 12.07 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.395, allocations: 7.7 MB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.395, allocations: 14.19 kB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/1.396, allocations: 141.3 kB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/1.396, allocations: 23.62 kB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/1.396, allocations: 42.19 kB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/1.396, allocations: 29.91 kB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/1.396, allocations: 24.31 kB / 1.642 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.397, allocations: 1.685 MB / 1.644 GB, free: 9.645 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/1.398, allocations: 349.5 kB / 1.644 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/1.398, allocations: 37.09 kB / 1.644 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/1.399, allocations: 23.19 kB / 1.644 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/1.399, allocations: 107.2 kB / 1.645 GB, free: 9.508 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/1.399, allocations: 55.38 kB / 1.645 GB, free: 9.508 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001801/1.401, allocations: 1.319 MB / 1.646 GB, free: 9.363 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.401, allocations: 0 / 1.646 GB, free: 9.363 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002015/1.403, allocations: 0.5258 MB / 1.646 GB, free: 9.285 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.004003/1.407, allocations: 3.005 MB / 1.649 GB, free: 7.832 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.408, allocations: 0.8421 MB / 1.65 GB, free: 7.832 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/1.408, allocations: 2.875 kB / 1.65 GB, free: 7.832 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/1.409, allocations: 479.6 kB / 1.651 GB, free: 7.832 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/1.415, allocations: 1.342 MB / 1.652 GB, free: 7.641 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.429, allocations: 13.93 MB / 1.666 GB, free: 3.605 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/1.43, allocations: 0.814 MB / 1.666 GB, free: 3.48 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001547/1.432, allocations: 490.4 kB / 1.667 GB, free: 3.414 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/1.432, allocations: 0.6553 MB / 1.667 GB, free: 3.406 MB / 1.295 GB Notification: Performance of SimCode: time 1.373e-06/1.432, allocations: 0 / 1.667 GB, free: 3.406 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09577/1.528, allocations: 64 MB / 1.73 GB, free: 2.027 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/17.35, allocations: 9.594 kB / 1.73 GB, free: 2.023 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.274503768072464]