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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005297/0.005297, allocations: 99.64 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 186.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.12 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9092/1.21, allocations: 253.3 MB / 1.455 GB, free: 9.879 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02928/1.24, allocations: 20.59 MB / 1.475 GB, free: 5.234 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/1.243, allocations: 75.44 kB / 1.475 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00253/1.245, allocations: 0.8415 MB / 1.476 GB, free: 4.312 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007569/1.253, allocations: 2.905 MB / 1.478 GB, free: 1.395 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006646/1.26, allocations: 2.758 MB / 1.481 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005742/1.265, allocations: 3.834 MB / 1.485 GB, free: 10.8 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/1.268, allocations: 1.293 MB / 1.486 GB, free: 9.488 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/1.271, allocations: 1.455 MB / 1.488 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.272, allocations: 0.9837 MB / 1.489 GB, free: 7.043 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003736/1.273, allocations: 108 kB / 1.489 GB, free: 6.938 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009018/1.282, allocations: 3.946 MB / 1.493 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/1.283, allocations: 0.6504 MB / 1.493 GB, free: 2.332 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002129/1.285, allocations: 0.9756 MB / 1.494 GB, free: 1.352 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00917/1.294, allocations: 4.149 MB / 1.498 GB, free: 13.19 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.294, allocations: 4 kB / 1.498 GB, free: 13.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.914e-06/1.294, allocations: 0 / 1.498 GB, free: 13.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.994e-05/1.294, allocations: 0 / 1.498 GB, free: 13.19 MB / 1.186 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.004568/1.299, allocations: 2.291 MB / 1.5 GB, free: 10.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.299, allocations: 16.62 kB / 1.5 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/1.299, allocations: 190 kB / 1.501 GB, free: 10.63 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/1.301, allocations: 481 kB / 1.501 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/1.304, allocations: 1.384 MB / 1.502 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/1.305, allocations: 98.42 kB / 1.502 GB, free: 8.621 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.305, allocations: 124 kB / 1.503 GB, free: 8.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/1.308, allocations: 1.712 MB / 1.504 GB, free: 6.648 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/1.308, allocations: 7.938 kB / 1.504 GB, free: 6.641 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.308, allocations: 51.98 kB / 1.504 GB, free: 6.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-05/1.308, allocations: 71.91 kB / 1.504 GB, free: 6.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/1.31, allocations: 1.217 MB / 1.506 GB, free: 5.301 MB / 1.186 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.00816/1.318, allocations: 7.526 MB / 1.513 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/1.319, allocations: 0.6617 MB / 1.514 GB, free: 12.63 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/1.32, allocations: 0.6264 MB / 1.514 GB, free: 11.97 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/1.322, allocations: 1.871 MB / 1.516 GB, free: 9.695 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.322, allocations: 54.47 kB / 1.516 GB, free: 9.633 MB / 1.201 GB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/1.322, allocations: 0 / 1.516 GB, free: 9.633 MB / 1.201 GB Notification: Performance of matching and sorting (n=72): time 0.002645/1.324, allocations: 1.383 MB / 1.517 GB, free: 8.242 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/1.325, allocations: 298.7 kB / 1.518 GB, free: 7.883 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/1.327, allocations: 1.888 MB / 1.52 GB, free: 5.957 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/1.327, allocations: 41.7 kB / 1.52 GB, free: 5.91 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/1.328, allocations: 0.7252 MB / 1.52 GB, free: 5.176 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/1.328, allocations: 256.3 kB / 1.521 GB, free: 4.922 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/1.328, allocations: 130.3 kB / 1.521 GB, free: 4.789 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.329, allocations: 337.9 kB / 1.521 GB, free: 4.453 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/1.329, allocations: 329.1 kB / 1.521 GB, free: 4.133 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/1.33, allocations: 0.5625 MB / 1.522 GB, free: 3.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.331, allocations: 0.8575 MB / 1.523 GB, free: 2.613 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.331, allocations: 4 kB / 1.523 GB, free: 2.609 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001641/1.333, allocations: 1.006 MB / 1.524 GB, free: 1.594 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.333, allocations: 8 kB / 1.524 GB, free: 1.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.333, allocations: 8.125 kB / 1.524 GB, free: 1.578 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/1.333, allocations: 8 kB / 1.524 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/1.333, allocations: 127.8 kB / 1.524 GB, free: 1.445 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/1.333, allocations: 4 kB / 1.524 GB, free: 1.441 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.334, allocations: 130.4 kB / 1.524 GB, free: 1.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.334, allocations: 39.98 kB / 1.524 GB, free: 1.273 MB / 1.201 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.0006552/1.335, allocations: 461.4 kB / 1.524 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/1.335, allocations: 193.6 kB / 1.525 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.337, allocations: 1.083 MB / 1.526 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/1.337, allocations: 15.98 kB / 1.526 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.337, allocations: 4 kB / 1.526 GB, free: 15.51 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.337, allocations: 7.984 kB / 1.526 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.349, allocations: 8.757 MB / 1.534 GB, free: 6.246 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/1.349, allocations: 19.98 kB / 1.534 GB, free: 6.227 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/1.35, allocations: 143.7 kB / 1.534 GB, free: 6.086 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.288e-05/1.35, allocations: 20 kB / 1.534 GB, free: 6.066 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/1.35, allocations: 47.92 kB / 1.534 GB, free: 6.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-05/1.35, allocations: 23.92 kB / 1.535 GB, free: 5.996 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-05/1.35, allocations: 27.88 kB / 1.535 GB, free: 5.969 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/1.352, allocations: 1.672 MB / 1.536 GB, free: 4.078 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/1.353, allocations: 414.3 kB / 1.537 GB, free: 3.652 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/1.353, allocations: 35.92 kB / 1.537 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/1.354, allocations: 28 kB / 1.537 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.354, allocations: 107.5 kB / 1.537 GB, free: 3.484 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/1.355, allocations: 55.98 kB / 1.537 GB, free: 3.43 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002119/1.357, allocations: 1.316 MB / 1.538 GB, free: 2.094 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.643e-06/1.357, allocations: 0 / 1.538 GB, free: 2.094 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002067/1.359, allocations: 0.5152 MB / 1.539 GB, free: 1.578 MB / 1.217 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.004763/1.364, allocations: 3.003 MB / 1.542 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001512/1.365, allocations: 0.8495 MB / 1.542 GB, free: 13.49 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-05/1.365, allocations: 7.938 kB / 1.542 GB, free: 13.48 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007191/1.366, allocations: 487 kB / 1.543 GB, free: 13.01 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007046/1.373, allocations: 1.337 MB / 1.544 GB, free: 11.71 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.394, allocations: 13.85 MB / 1.558 GB, free: 13.17 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.395, allocations: 1.406 MB / 1.559 GB, free: 11.74 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001583/1.397, allocations: 486.6 kB / 1.559 GB, free: 11.26 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008969/1.398, allocations: 0.6593 MB / 1.56 GB, free: 10.6 MB / 1.248 GB Notification: Performance of SimCode: time 7.31e-07/1.398, allocations: 0 / 1.56 GB, free: 10.6 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.506, allocations: 60.78 MB / 1.619 GB, free: 14.33 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.88, allocations: 14.11 kB / 1.619 GB, free: 14.32 MB / 1.311 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) 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) Reference file matches