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.00144/0.00144, 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.001591/0.001591, allocations: 213.9 kB / 22.25 MB, free: 5.125 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: 8.004 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.931/2.931, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Boundary",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.001945/0.001945, allocations: 67.69 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3005, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.277/0.5775, allocations: 258.2 MB / 1.578 GB, free: 14.79 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.6041, allocations: 20.82 MB / 1.598 GB, free: 9.902 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.6062, allocations: 106.9 kB / 1.598 GB, free: 9.797 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.6085, allocations: 0.8492 MB / 1.599 GB, free: 8.941 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.00723/0.6157, allocations: 3.084 MB / 1.602 GB, free: 5.844 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.006635/0.6224, allocations: 2.921 MB / 1.605 GB, free: 2.93 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.6742/1.297, allocations: 3.861 MB / 1.609 GB, free: 7.852 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.298, allocations: 0.9194 MB / 1.61 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009964/1.308, allocations: 5.056 MB / 1.615 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.31, allocations: 1.047 MB / 1.616 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/1.311, allocations: 109.2 kB / 1.616 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008418/1.319, allocations: 3.748 MB / 1.62 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/1.321, allocations: 0.6639 MB / 1.62 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/1.323, allocations: 0.9807 MB / 1.621 GB, free: 7.777 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/1.334, allocations: 4.169 MB / 1.625 GB, free: 7.555 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.334, allocations: 0 / 1.625 GB, free: 7.555 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.633e-06/1.334, allocations: 1.906 kB / 1.625 GB, free: 7.555 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.338e-05/1.334, allocations: 0 / 1.625 GB, free: 7.555 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004027/1.338, allocations: 2.289 MB / 1.627 GB, free: 22.41 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.338, allocations: 9.312 kB / 1.627 GB, free: 22.41 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002225/1.338, allocations: 189.9 kB / 1.628 GB, free: 22.37 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.34, allocations: 497.6 kB / 1.628 GB, free: 22.25 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/1.342, allocations: 1.306 MB / 1.629 GB, free: 21.86 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/1.342, allocations: 92.53 kB / 1.63 GB, free: 21.86 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.343, allocations: 128.8 kB / 1.63 GB, free: 21.86 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/1.345, allocations: 1.713 MB / 1.631 GB, free: 21.49 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/1.345, allocations: 5.781 kB / 1.631 GB, free: 21.49 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/1.345, allocations: 57.31 kB / 1.631 GB, free: 21.49 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/1.345, allocations: 66.17 kB / 1.631 GB, free: 21.49 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/1.347, allocations: 1.217 MB / 1.633 GB, free: 21.49 MB / 1.311 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.006724/1.353, allocations: 7.495 MB / 1.64 GB, free: 16.99 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/1.354, allocations: 0.6319 MB / 1.641 GB, free: 16.76 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/1.355, allocations: 0.5948 MB / 1.641 GB, free: 16.68 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/1.355, allocations: 227.9 kB / 1.641 GB, free: 16.68 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.355, allocations: 57.5 kB / 1.641 GB, free: 16.64 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/1.355, allocations: 0.9062 kB / 1.641 GB, free: 16.64 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002113/1.357, allocations: 1.392 MB / 1.643 GB, free: 16.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/1.358, allocations: 307.1 kB / 1.643 GB, free: 16.16 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.36, allocations: 1.888 MB / 1.645 GB, free: 15.95 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/1.36, allocations: 38.08 kB / 1.645 GB, free: 15.91 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/1.36, allocations: 0.7315 MB / 1.646 GB, free: 15.79 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/1.36, allocations: 253.5 kB / 1.646 GB, free: 15.62 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/1.361, allocations: 138.7 kB / 1.646 GB, free: 15.6 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.361, allocations: 329 kB / 1.646 GB, free: 15.3 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/1.361, allocations: 331.2 kB / 1.647 GB, free: 15.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/1.362, allocations: 0.5681 MB / 1.647 GB, free: 15.16 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/1.363, allocations: 0.8643 MB / 1.648 GB, free: 15.03 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.363, allocations: 1.062 kB / 1.648 GB, free: 15.03 MB / 1.311 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001199/1.364, allocations: 1.02 MB / 1.649 GB, free: 14.89 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.364, allocations: 5.219 kB / 1.649 GB, free: 14.89 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.364, allocations: 8.047 kB / 1.649 GB, free: 14.89 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.364, allocations: 7.109 kB / 1.649 GB, free: 14.89 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/1.364, allocations: 128.6 kB / 1.649 GB, free: 14.89 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.364, allocations: 5.719 kB / 1.649 GB, free: 14.89 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/1.365, allocations: 131 kB / 1.649 GB, free: 14.81 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/1.365, allocations: 46.8 kB / 1.649 GB, free: 14.81 MB / 1.311 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.0004818/1.366, allocations: 456 kB / 1.65 GB, free: 14.69 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/1.366, allocations: 200.6 kB / 1.65 GB, free: 14.58 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.367, allocations: 1.094 MB / 1.651 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.367, allocations: 17.94 kB / 1.651 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.367, allocations: 5.094 kB / 1.651 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.367, allocations: 9.125 kB / 1.651 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008897/1.376, allocations: 7.84 MB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.376, allocations: 24.47 kB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/1.377, allocations: 143.5 kB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/1.377, allocations: 19.22 kB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/1.377, allocations: 41.25 kB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/1.377, allocations: 30.91 kB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.377, allocations: 22.66 kB / 1.659 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.378, allocations: 1.683 MB / 1.661 GB, free: 12.08 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/1.379, allocations: 346.4 kB / 1.661 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/1.379, allocations: 37.91 kB / 1.661 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/1.379, allocations: 23.69 kB / 1.661 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.379, allocations: 113.2 kB / 1.661 GB, free: 11.95 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/1.379, allocations: 55.08 kB / 1.661 GB, free: 11.95 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001401/1.381, allocations: 1.317 MB / 1.662 GB, free: 11.8 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/1.381, allocations: 0.9688 kB / 1.662 GB, free: 11.8 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001915/1.383, allocations: 0.5177 MB / 1.663 GB, free: 11.73 MB / 1.311 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.003596/1.386, allocations: 3.018 MB / 1.666 GB, free: 10.26 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0009522/1.387, allocations: 0.8369 MB / 1.667 GB, free: 10.26 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.387, allocations: 4.609 kB / 1.667 GB, free: 10.26 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/1.388, allocations: 479.2 kB / 1.667 GB, free: 10.26 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/1.392, allocations: 1.333 MB / 1.669 GB, free: 10.03 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.407, allocations: 13.93 MB / 1.682 GB, free: 5.93 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/1.408, allocations: 1.401 MB / 1.684 GB, free: 5.199 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001385/1.41, allocations: 489.7 kB / 1.684 GB, free: 5.109 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/1.41, allocations: 0.6558 MB / 1.685 GB, free: 5.105 MB / 1.311 GB Notification: Performance of SimCode: time 8.62e-07/1.41, allocations: 4 kB / 1.685 GB, free: 5.102 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.514, allocations: 60.87 MB / 1.744 GB, free: 7.941 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.15, allocations: 5.516 kB / 1.744 GB, free: 7.941 MB / 1.342 GB " [Timeout remaining time 285] (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: 21.388850410934538]