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.001564/0.001564, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001787/0.001787, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.04/3.04, allocations: 0.49 GB / 0.7916 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.00199/0.00199, allocations: 69.22 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3456, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.3017/0.6474, allocations: 257.4 MB / 1.572 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02851/0.6759, allocations: 20.71 MB / 1.592 GB, free: 12.21 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.679, allocations: 106.9 kB / 1.593 GB, free: 12.11 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.6815, allocations: 0.8492 MB / 1.593 GB, free: 11.25 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.6899, allocations: 3.049 MB / 1.596 GB, free: 8.188 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007274/0.6972, allocations: 2.794 MB / 1.599 GB, free: 5.402 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.00656/0.7037, allocations: 3.812 MB / 1.603 GB, free: 1.574 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.7058, allocations: 1.039 MB / 1.604 GB, free: 0.5078 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8351/1.541, allocations: 4.923 MB / 1.609 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/1.543, allocations: 1.047 MB / 1.61 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/1.543, allocations: 110.3 kB / 1.61 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007945/1.551, allocations: 3.669 MB / 1.613 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/1.552, allocations: 0.6577 MB / 1.614 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/1.554, allocations: 0.9807 MB / 1.615 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.565, allocations: 4.173 MB / 1.619 GB, free: 8.523 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.565, allocations: 0 / 1.619 GB, free: 8.523 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.753e-06/1.565, allocations: 1.25 kB / 1.619 GB, free: 8.523 MB / 1.295 GB Notification: Performance of Transformations before backend: time 9.346e-05/1.565, allocations: 0 / 1.619 GB, free: 8.523 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.005833/1.571, allocations: 2.361 MB / 1.621 GB, free: 7.289 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.571, allocations: 13.67 kB / 1.621 GB, free: 7.285 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002606/1.571, allocations: 189.5 kB / 1.621 GB, free: 7.242 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/1.574, allocations: 495.8 kB / 1.622 GB, free: 7.125 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/1.577, allocations: 1.395 MB / 1.623 GB, free: 22.68 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/1.577, allocations: 95.34 kB / 1.623 GB, free: 22.68 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.577, allocations: 127.1 kB / 1.624 GB, free: 22.68 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/1.58, allocations: 1.718 MB / 1.625 GB, free: 22.31 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/1.58, allocations: 5.969 kB / 1.625 GB, free: 22.31 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.58, allocations: 53.41 kB / 1.625 GB, free: 22.31 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.04e-05/1.58, allocations: 61.44 kB / 1.625 GB, free: 22.31 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.582, allocations: 1.219 MB / 1.627 GB, free: 22.3 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.008424/1.59, allocations: 7.561 MB / 1.634 GB, free: 17.79 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/1.591, allocations: 0.6328 MB / 1.635 GB, free: 17.55 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/1.592, allocations: 0.5908 MB / 1.635 GB, free: 17.47 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001834/1.594, allocations: 1.868 MB / 1.637 GB, free: 15.41 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.594, allocations: 55.67 kB / 1.637 GB, free: 15.37 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 3.947e-06/1.594, allocations: 1.938 kB / 1.637 GB, free: 15.37 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002198/1.596, allocations: 1.398 MB / 1.638 GB, free: 15.23 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/1.596, allocations: 307.6 kB / 1.639 GB, free: 14.89 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/1.598, allocations: 1.885 MB / 1.64 GB, free: 14.68 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/1.599, allocations: 41.27 kB / 1.641 GB, free: 14.64 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/1.599, allocations: 0.7281 MB / 1.641 GB, free: 14.51 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/1.599, allocations: 255.7 kB / 1.641 GB, free: 14.34 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/1.599, allocations: 135.2 kB / 1.642 GB, free: 14.32 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.6, allocations: 332.6 kB / 1.642 GB, free: 14.02 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/1.6, allocations: 329.6 kB / 1.642 GB, free: 14.02 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/1.6, allocations: 0.5642 MB / 1.643 GB, free: 13.89 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/1.601, allocations: 0.8549 MB / 1.644 GB, free: 13.76 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.601, allocations: 1.375 kB / 1.644 GB, free: 13.76 MB / 1.311 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001391/1.603, allocations: 1.026 MB / 1.645 GB, free: 13.62 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.603, allocations: 9.453 kB / 1.645 GB, free: 13.62 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.603, allocations: 6.688 kB / 1.645 GB, free: 13.62 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.603, allocations: 7.156 kB / 1.645 GB, free: 13.62 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/1.603, allocations: 124 kB / 1.645 GB, free: 13.61 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.603, allocations: 12.45 kB / 1.645 GB, free: 13.61 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/1.604, allocations: 133.3 kB / 1.645 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/1.604, allocations: 44.8 kB / 1.645 GB, free: 13.53 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.0006364/1.605, allocations: 455.9 kB / 1.645 GB, free: 13.41 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/1.605, allocations: 200.2 kB / 1.646 GB, free: 13.31 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.607, allocations: 1.087 MB / 1.647 GB, free: 13.24 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/1.607, allocations: 18.78 kB / 1.647 GB, free: 13.24 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.607, allocations: 2.469 kB / 1.647 GB, free: 13.24 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.607, allocations: 5.297 kB / 1.647 GB, free: 13.24 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.617, allocations: 8.777 MB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.617, allocations: 14.72 kB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/1.618, allocations: 139.9 kB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/1.618, allocations: 23.66 kB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/1.618, allocations: 41.52 kB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/1.618, allocations: 28.41 kB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.618, allocations: 22.84 kB / 1.655 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/1.62, allocations: 1.677 MB / 1.657 GB, free: 9.645 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008835/1.62, allocations: 426.6 kB / 1.658 GB, free: 9.43 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/1.621, allocations: 35.84 kB / 1.658 GB, free: 9.43 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/1.621, allocations: 26.31 kB / 1.658 GB, free: 9.43 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.621, allocations: 104.3 kB / 1.658 GB, free: 9.418 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/1.621, allocations: 56.72 kB / 1.658 GB, free: 9.418 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001477/1.623, allocations: 1.315 MB / 1.659 GB, free: 9.273 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/1.623, allocations: 0.9062 kB / 1.659 GB, free: 9.273 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002184/1.625, allocations: 0.5175 MB / 1.66 GB, free: 9.203 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.003817/1.629, allocations: 3.006 MB / 1.662 GB, free: 7.738 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.63, allocations: 0.8298 MB / 1.663 GB, free: 7.738 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.63, allocations: 3.594 kB / 1.663 GB, free: 7.738 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/1.63, allocations: 472.7 kB / 1.664 GB, free: 7.738 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/1.636, allocations: 1.339 MB / 1.665 GB, free: 7.539 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.653, allocations: 13.94 MB / 1.679 GB, free: 3.441 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.654, allocations: 1.399 MB / 1.68 GB, free: 2.715 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001715/1.656, allocations: 486 kB / 1.68 GB, free: 2.625 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/1.657, allocations: 0.6553 MB / 1.681 GB, free: 2.617 MB / 1.311 GB Notification: Performance of SimCode: time 1.633e-06/1.657, allocations: 0 / 1.681 GB, free: 2.617 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.762, allocations: 60.32 MB / 1.74 GB, free: 6.867 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/13.34, allocations: 0 / 1.74 GB, free: 6.867 MB / 1.342 GB " [Timeout remaining time 287] (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: 19.89623014605604]