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.001259/0.001259, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001328/0.001328, allocations: 215 kB / 20.13 MB, free: 2.949 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.415/1.415, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.789/2.789, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002067/0.002067, allocations: 71.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.839, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.304/1.143, allocations: 257.4 MB / 1.573 GB, free: 7.668 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0297/1.173, allocations: 20.71 MB / 1.593 GB, free: 2.902 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/1.176, allocations: 106.9 kB / 1.593 GB, free: 2.797 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/1.178, allocations: 0.8531 MB / 1.594 GB, free: 1.938 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008132/1.186, allocations: 3.045 MB / 1.597 GB, free: 14.88 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006859/1.193, allocations: 2.797 MB / 1.6 GB, free: 12.09 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006123/1.199, allocations: 3.812 MB / 1.603 GB, free: 8.262 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/1.201, allocations: 1.043 MB / 1.604 GB, free: 7.191 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/1.213, allocations: 4.931 MB / 1.609 GB, free: 2.25 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/1.214, allocations: 1.042 MB / 1.61 GB, free: 1.203 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/1.215, allocations: 112 kB / 1.61 GB, free: 1.094 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007622/1.222, allocations: 3.667 MB / 1.614 GB, free: 13.42 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008989/1.223, allocations: 0.6658 MB / 1.615 GB, free: 12.75 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/1.224, allocations: 0.9795 MB / 1.616 GB, free: 11.77 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007803/1.232, allocations: 4.17 MB / 1.62 GB, free: 7.582 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.232, allocations: 0 / 1.62 GB, free: 7.582 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.704e-06/1.232, allocations: 0 / 1.62 GB, free: 7.582 MB / 1.295 GB Notification: Performance of Transformations before backend: time 5.561e-05/1.232, allocations: 0 / 1.62 GB, free: 7.582 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.003559/1.236, allocations: 2.362 MB / 1.622 GB, free: 5.16 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.236, allocations: 19.98 kB / 1.622 GB, free: 5.141 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.969e-05/1.236, allocations: 38.31 kB / 1.622 GB, free: 5.102 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/1.236, allocations: 194 kB / 1.622 GB, free: 4.902 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/1.238, allocations: 498.1 kB / 1.623 GB, free: 4.414 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/1.241, allocations: 1.389 MB / 1.624 GB, free: 2.973 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/1.241, allocations: 98.42 kB / 1.624 GB, free: 2.875 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.241, allocations: 124 kB / 1.624 GB, free: 2.754 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/1.243, allocations: 1.716 MB / 1.626 GB, free: 0.8984 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.243, allocations: 7.938 kB / 1.626 GB, free: 0.8906 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/1.244, allocations: 51.94 kB / 1.626 GB, free: 0.8398 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.009e-05/1.244, allocations: 63.73 kB / 1.626 GB, free: 0.7773 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/1.245, allocations: 1.218 MB / 1.627 GB, free: 15.56 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.008243/1.254, allocations: 7.554 MB / 1.635 GB, free: 7.613 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.255, allocations: 0.6391 MB / 1.635 GB, free: 6.883 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/1.255, allocations: 0.5903 MB / 1.636 GB, free: 6.262 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/1.257, allocations: 1.86 MB / 1.638 GB, free: 3.996 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.257, allocations: 58.48 kB / 1.638 GB, free: 3.93 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/1.257, allocations: 7.938 kB / 1.638 GB, free: 3.922 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002624/1.26, allocations: 1.396 MB / 1.639 GB, free: 2.52 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.26, allocations: 298.7 kB / 1.639 GB, free: 2.16 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.263, allocations: 1.892 MB / 1.641 GB, free: 236 kB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.263, allocations: 37.7 kB / 1.641 GB, free: 192 kB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007397/1.263, allocations: 0.7372 MB / 1.642 GB, free: 15.45 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.264, allocations: 249.8 kB / 1.642 GB, free: 15.2 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/1.264, allocations: 138.3 kB / 1.642 GB, free: 15.06 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.264, allocations: 325.9 kB / 1.643 GB, free: 14.73 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/1.265, allocations: 333.1 kB / 1.643 GB, free: 14.41 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008073/1.265, allocations: 0.5664 MB / 1.643 GB, free: 13.79 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.267, allocations: 0.8535 MB / 1.644 GB, free: 12.89 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/1.267, allocations: 4 kB / 1.644 GB, free: 12.89 MB / 1.326 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001803/1.268, allocations: 1.027 MB / 1.645 GB, free: 11.85 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.268, allocations: 8 kB / 1.645 GB, free: 11.84 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.268, allocations: 7.938 kB / 1.645 GB, free: 11.84 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.268, allocations: 4 kB / 1.645 GB, free: 11.83 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/1.269, allocations: 123.8 kB / 1.645 GB, free: 11.71 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.269, allocations: 4 kB / 1.645 GB, free: 11.71 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/1.27, allocations: 138.7 kB / 1.646 GB, free: 11.57 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.27, allocations: 43.98 kB / 1.646 GB, free: 11.53 MB / 1.326 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.0007998/1.271, allocations: 457.6 kB / 1.646 GB, free: 11.07 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/1.271, allocations: 198.7 kB / 1.646 GB, free: 10.88 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/1.273, allocations: 1.087 MB / 1.647 GB, free: 9.777 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/1.273, allocations: 12 kB / 1.647 GB, free: 9.766 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/1.273, allocations: 4 kB / 1.647 GB, free: 9.762 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.273, allocations: 7.922 kB / 1.647 GB, free: 9.754 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.285, allocations: 8.762 MB / 1.656 GB, free: 0.4922 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.285, allocations: 16 kB / 1.656 GB, free: 488 kB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/1.285, allocations: 139.8 kB / 1.656 GB, free: 348 kB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.667e-05/1.285, allocations: 27.92 kB / 1.656 GB, free: 320 kB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/1.285, allocations: 32 kB / 1.656 GB, free: 288 kB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.478e-05/1.285, allocations: 32.02 kB / 1.656 GB, free: 256 kB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/1.285, allocations: 28.41 kB / 1.656 GB, free: 228 kB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.287, allocations: 1.681 MB / 1.658 GB, free: 14.32 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/1.288, allocations: 431.3 kB / 1.658 GB, free: 13.88 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.288, allocations: 35.98 kB / 1.658 GB, free: 13.84 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/1.289, allocations: 24 kB / 1.658 GB, free: 13.82 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.289, allocations: 111.5 kB / 1.658 GB, free: 13.71 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/1.289, allocations: 52 kB / 1.658 GB, free: 13.66 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.001874/1.291, allocations: 1.32 MB / 1.66 GB, free: 12.32 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.1e-07/1.291, allocations: 3.938 kB / 1.66 GB, free: 12.32 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.001871/1.293, allocations: 0.5184 MB / 1.66 GB, free: 11.8 MB / 1.342 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.004558/1.297, allocations: 3.003 MB / 1.663 GB, free: 8.566 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.299, allocations: 0.8326 MB / 1.664 GB, free: 7.734 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.299, allocations: 4 kB / 1.664 GB, free: 7.73 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/1.299, allocations: 471.5 kB / 1.664 GB, free: 7.273 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005855/1.305, allocations: 1.339 MB / 1.666 GB, free: 5.98 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/1.325, allocations: 13.93 MB / 1.679 GB, free: 7.348 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.326, allocations: 1.406 MB / 1.681 GB, free: 5.914 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001511/1.327, allocations: 482.6 kB / 1.681 GB, free: 5.438 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008474/1.328, allocations: 0.6555 MB / 1.682 GB, free: 4.785 MB / 1.357 GB Notification: Performance of SimCode: time 8.01e-07/1.328, allocations: 0 / 1.682 GB, free: 4.785 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.429, allocations: 60.34 MB / 1.741 GB, free: 8.957 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.73, allocations: 22 kB / 1.741 GB, free: 8.938 MB / 1.42 GB " [Timeout remaining time 286] (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: 20.207576866960153]