Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_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.008013/0.008013, allocations: 103.8 kB / 15.73 MB, free: 6.047 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.001388/0.001388, allocations: 188 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.145/2.145, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 64.14 kB / 0.9504 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.878, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.281/1.159, allocations: 253.3 MB / 1.335 GB, free: 212 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.184, allocations: 20.59 MB / 1.355 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/1.188, allocations: 75.44 kB / 1.355 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/1.19, allocations: 0.8415 MB / 1.356 GB, free: 10.63 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008183/1.198, allocations: 2.912 MB / 1.359 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007124/1.205, allocations: 2.75 MB / 1.361 GB, free: 4.961 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006464/1.212, allocations: 3.816 MB / 1.365 GB, free: 1.129 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/1.214, allocations: 1.312 MB / 1.366 GB, free: 15.79 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/1.218, allocations: 1.432 MB / 1.368 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/1.22, allocations: 0.9993 MB / 1.369 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/1.22, allocations: 111.9 kB / 1.369 GB, free: 13.25 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009045/1.229, allocations: 3.943 MB / 1.373 GB, free: 9.293 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009666/1.23, allocations: 0.6504 MB / 1.373 GB, free: 8.641 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.232, allocations: 0.9795 MB / 1.374 GB, free: 7.656 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007582/1.24, allocations: 4.149 MB / 1.378 GB, free: 3.496 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.24, allocations: 0 / 1.378 GB, free: 3.496 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.613e-06/1.24, allocations: 4 kB / 1.378 GB, free: 3.492 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.203e-05/1.24, allocations: 0 / 1.378 GB, free: 3.492 MB / 1.107 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.003557/1.243, allocations: 2.291 MB / 1.381 GB, free: 1.145 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.243, allocations: 12.03 kB / 1.381 GB, free: 1.133 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/1.243, allocations: 194 kB / 1.381 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/1.245, allocations: 485 kB / 1.381 GB, free: 468 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/1.248, allocations: 1.372 MB / 1.383 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/1.248, allocations: 94.42 kB / 1.383 GB, free: 14.94 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/1.248, allocations: 124 kB / 1.383 GB, free: 14.82 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/1.25, allocations: 1.708 MB / 1.384 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/1.25, allocations: 15.94 kB / 1.384 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/1.251, allocations: 55.94 kB / 1.385 GB, free: 12.9 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/1.251, allocations: 63.92 kB / 1.385 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/1.252, allocations: 1.219 MB / 1.386 GB, free: 11.62 MB / 1.123 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.007718/1.26, allocations: 7.533 MB / 1.393 GB, free: 3.691 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/1.261, allocations: 0.6578 MB / 1.394 GB, free: 2.941 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/1.262, allocations: 0.6225 MB / 1.394 GB, free: 2.289 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.263, allocations: 1.867 MB / 1.396 GB, free: 16 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/1.263, allocations: 50.5 kB / 1.396 GB, free: 15.96 MB / 1.139 GB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/1.263, allocations: 0 / 1.396 GB, free: 15.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=72): time 0.002464/1.266, allocations: 1.395 MB / 1.398 GB, free: 14.55 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.266, allocations: 298.7 kB / 1.398 GB, free: 14.2 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/1.268, allocations: 1.892 MB / 1.4 GB, free: 12.27 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/1.269, allocations: 37.7 kB / 1.4 GB, free: 12.22 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/1.269, allocations: 0.7291 MB / 1.401 GB, free: 11.48 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.269, allocations: 244.5 kB / 1.401 GB, free: 11.24 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.27, allocations: 134.2 kB / 1.401 GB, free: 11.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.27, allocations: 337.9 kB / 1.401 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/1.27, allocations: 325.1 kB / 1.402 GB, free: 10.45 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/1.271, allocations: 0.5664 MB / 1.402 GB, free: 9.836 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009968/1.272, allocations: 0.8566 MB / 1.403 GB, free: 8.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.272, allocations: 4 kB / 1.403 GB, free: 8.926 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001434/1.273, allocations: 1.003 MB / 1.404 GB, free: 7.914 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.273, allocations: 15.88 kB / 1.404 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.273, allocations: 4 kB / 1.404 GB, free: 7.895 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.273, allocations: 8 kB / 1.404 GB, free: 7.887 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/1.274, allocations: 123.8 kB / 1.404 GB, free: 7.766 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.274, allocations: 8.125 kB / 1.404 GB, free: 7.758 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/1.275, allocations: 134.7 kB / 1.404 GB, free: 7.625 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.275, allocations: 43.98 kB / 1.404 GB, free: 7.582 MB / 1.139 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.0006002/1.275, allocations: 449.6 kB / 1.405 GB, free: 7.133 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/1.276, allocations: 193.6 kB / 1.405 GB, free: 6.941 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.277, allocations: 1.075 MB / 1.406 GB, free: 5.859 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.277, allocations: 23.98 kB / 1.406 GB, free: 5.836 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.277, allocations: 4.5 kB / 1.406 GB, free: 5.832 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.277, allocations: 11.92 kB / 1.406 GB, free: 5.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.288, allocations: 8.745 MB / 1.414 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/1.288, allocations: 20.34 kB / 1.414 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/1.289, allocations: 143.7 kB / 1.415 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/1.289, allocations: 23.94 kB / 1.415 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/1.289, allocations: 39.98 kB / 1.415 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.583e-05/1.289, allocations: 23.88 kB / 1.415 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/1.289, allocations: 31.86 kB / 1.415 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.291, allocations: 1.669 MB / 1.416 GB, free: 10.4 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007834/1.291, allocations: 418.3 kB / 1.417 GB, free: 9.969 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.292, allocations: 39.98 kB / 1.417 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/1.292, allocations: 24 kB / 1.417 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.293, allocations: 115.5 kB / 1.417 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.293, allocations: 51.98 kB / 1.417 GB, free: 9.742 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001775/1.294, allocations: 1.316 MB / 1.418 GB, free: 8.406 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.294, allocations: 0 / 1.418 GB, free: 8.406 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001796/1.296, allocations: 0.5152 MB / 1.419 GB, free: 7.891 MB / 1.154 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.004169/1.3, allocations: 3.001 MB / 1.422 GB, free: 4.672 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001549/1.302, allocations: 0.8492 MB / 1.423 GB, free: 3.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.302, allocations: 4 kB / 1.423 GB, free: 3.816 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006875/1.303, allocations: 490.1 kB / 1.423 GB, free: 3.34 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006503/1.309, allocations: 1.336 MB / 1.424 GB, free: 2.043 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.332, allocations: 13.86 MB / 1.438 GB, free: 3.496 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.333, allocations: 1.402 MB / 1.439 GB, free: 2.066 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001744/1.335, allocations: 490.7 kB / 1.44 GB, free: 1.582 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/1.336, allocations: 0.6516 MB / 1.44 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of SimCode: time 1.252e-06/1.336, allocations: 0 / 1.44 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.447, allocations: 60.78 MB / 1.5 GB, free: 4.742 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/13.19, allocations: 17.77 kB / 1.5 GB, free: 4.727 MB / 1.232 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches