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.001101/0.001101, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001309/0.001309, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.294/1.294, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.87/2.87, allocations: 0.49 GB / 0.7959 GB, free: 33.55 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.001861/0.001861, allocations: 68.16 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2916, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.275/0.5665, allocations: 258.2 MB / 1.579 GB, free: 14.82 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02653/0.5931, allocations: 20.82 MB / 1.599 GB, free: 9.941 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.595, allocations: 110.9 kB / 1.599 GB, free: 9.832 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.5968, allocations: 0.8454 MB / 1.6 GB, free: 8.98 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.6033, allocations: 3.076 MB / 1.603 GB, free: 5.891 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.6094, allocations: 2.94 MB / 1.606 GB, free: 2.957 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.6174/1.227, allocations: 3.859 MB / 1.61 GB, free: 7.824 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/1.228, allocations: 0.9096 MB / 1.611 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/1.239, allocations: 5.061 MB / 1.616 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/1.241, allocations: 1.049 MB / 1.617 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/1.241, allocations: 108.4 kB / 1.617 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/1.248, allocations: 3.746 MB / 1.62 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008194/1.248, allocations: 0.6628 MB / 1.621 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.25, allocations: 0.9796 MB / 1.622 GB, free: 7.75 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007089/1.257, allocations: 4.168 MB / 1.626 GB, free: 7.527 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.257, allocations: 2.281 kB / 1.626 GB, free: 7.527 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.443e-06/1.257, allocations: 0 / 1.626 GB, free: 7.527 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.835e-05/1.257, allocations: 1.75 kB / 1.626 GB, free: 7.527 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.003984/1.261, allocations: 2.293 MB / 1.628 GB, free: 22.38 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.261, allocations: 10.28 kB / 1.628 GB, free: 22.38 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.033e-05/1.261, allocations: 32.66 kB / 1.628 GB, free: 22.38 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/1.261, allocations: 190.3 kB / 1.628 GB, free: 22.34 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/1.263, allocations: 498 kB / 1.629 GB, free: 22.22 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/1.265, allocations: 1.303 MB / 1.63 GB, free: 21.83 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/1.265, allocations: 93.16 kB / 1.63 GB, free: 21.83 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.266, allocations: 127.1 kB / 1.63 GB, free: 21.83 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.268, allocations: 1.719 MB / 1.632 GB, free: 21.46 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/1.268, allocations: 4.781 kB / 1.632 GB, free: 21.46 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.985e-05/1.268, allocations: 58.25 kB / 1.632 GB, free: 21.46 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/1.268, allocations: 62.09 kB / 1.632 GB, free: 21.46 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/1.27, allocations: 1.22 MB / 1.633 GB, free: 21.46 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.008091/1.278, allocations: 7.492 MB / 1.641 GB, free: 16.96 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/1.279, allocations: 0.6352 MB / 1.641 GB, free: 16.73 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/1.279, allocations: 0.5896 MB / 1.642 GB, free: 16.65 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/1.28, allocations: 229.7 kB / 1.642 GB, free: 16.65 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.28, allocations: 56.55 kB / 1.642 GB, free: 16.61 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/1.28, allocations: 0.9375 kB / 1.642 GB, free: 16.61 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002215/1.282, allocations: 1.399 MB / 1.644 GB, free: 16.47 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.282, allocations: 297.8 kB / 1.644 GB, free: 16.12 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.284, allocations: 1.89 MB / 1.646 GB, free: 15.91 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 7.372e-05/1.284, allocations: 41.33 kB / 1.646 GB, free: 15.88 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/1.285, allocations: 0.7303 MB / 1.646 GB, free: 15.75 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/1.285, allocations: 254 kB / 1.647 GB, free: 15.59 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/1.285, allocations: 135.8 kB / 1.647 GB, free: 15.57 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.285, allocations: 330.7 kB / 1.647 GB, free: 15.27 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/1.285, allocations: 325.9 kB / 1.647 GB, free: 15.27 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/1.286, allocations: 0.5668 MB / 1.648 GB, free: 15.13 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/1.287, allocations: 0.8622 MB / 1.649 GB, free: 15 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.287, allocations: 2.25 kB / 1.649 GB, free: 15 MB / 1.311 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00117/1.288, allocations: 1.024 MB / 1.65 GB, free: 14.86 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.288, allocations: 5.75 kB / 1.65 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.288, allocations: 4.344 kB / 1.65 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.288, allocations: 11.36 kB / 1.65 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/1.288, allocations: 127 kB / 1.65 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.288, allocations: 8.906 kB / 1.65 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/1.289, allocations: 131.9 kB / 1.65 GB, free: 14.78 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/1.289, allocations: 45.61 kB / 1.65 GB, free: 14.78 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.0005241/1.29, allocations: 455.4 kB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/1.29, allocations: 203.9 kB / 1.651 GB, free: 14.55 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.291, allocations: 1.095 MB / 1.652 GB, free: 14.48 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.291, allocations: 18.64 kB / 1.652 GB, free: 14.48 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.291, allocations: 2.875 kB / 1.652 GB, free: 14.48 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.291, allocations: 6.156 kB / 1.652 GB, free: 14.48 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/1.3, allocations: 7.841 MB / 1.66 GB, free: 12.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.3, allocations: 19.59 kB / 1.66 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/1.3, allocations: 152.6 kB / 1.66 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/1.3, allocations: 18.16 kB / 1.66 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/1.3, allocations: 34.19 kB / 1.66 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/1.3, allocations: 31.55 kB / 1.66 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.3, allocations: 25.25 kB / 1.66 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.302, allocations: 1.686 MB / 1.661 GB, free: 12.05 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/1.303, allocations: 342.5 kB / 1.662 GB, free: 11.93 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.303, allocations: 34.86 kB / 1.662 GB, free: 11.93 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/1.303, allocations: 27.69 kB / 1.662 GB, free: 11.93 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/1.303, allocations: 109.4 kB / 1.662 GB, free: 11.92 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/1.303, allocations: 58.94 kB / 1.662 GB, free: 11.92 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001342/1.305, allocations: 1.316 MB / 1.663 GB, free: 11.77 MB / 1.311 GB Notification: Performance of sort global known variables: time 8.1e-08/1.305, allocations: 0 / 1.663 GB, free: 11.77 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002081/1.307, allocations: 0.5258 MB / 1.664 GB, free: 11.7 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.003769/1.311, allocations: 3.011 MB / 1.667 GB, free: 10.23 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0009911/1.312, allocations: 0.8352 MB / 1.668 GB, free: 10.23 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/1.312, allocations: 3.219 kB / 1.668 GB, free: 10.23 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/1.312, allocations: 481.6 kB / 1.668 GB, free: 10.23 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/1.317, allocations: 1.347 MB / 1.669 GB, free: 9.992 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.335, allocations: 13.92 MB / 1.683 GB, free: 5.895 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.336, allocations: 1.403 MB / 1.684 GB, free: 5.164 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001449/1.337, allocations: 493.6 kB / 1.685 GB, free: 5.07 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/1.338, allocations: 0.6569 MB / 1.685 GB, free: 5.066 MB / 1.311 GB Notification: Performance of SimCode: time 9.22e-07/1.338, allocations: 0 / 1.685 GB, free: 5.066 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09614/1.434, allocations: 60.93 MB / 1.745 GB, free: 7.914 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.32, allocations: 12.61 kB / 1.745 GB, free: 7.906 MB / 1.342 GB " [Timeout remaining time 284] (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.70644788799109]