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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001084/0.001084, allocations: 194.7 kB / 16.14 MB, free: 6.652 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 70.56 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2306, allocations: 157.4 MB / 1.052 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.6846/0.9152, allocations: 252.1 MB / 1.298 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.9361, allocations: 20.76 MB / 1.319 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.9387, allocations: 84.06 kB / 1.319 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.9407, allocations: 0.6586 MB / 1.319 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.947, allocations: 2.735 MB / 1.322 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.9523, allocations: 2.502 MB / 1.325 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004661/0.9569, allocations: 5.073 MB / 1.329 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.9582, allocations: 1.066 MB / 1.331 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.96, allocations: 1.256 MB / 1.332 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008887/0.9609, allocations: 1.051 MB / 1.333 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.9611, allocations: 54.5 kB / 1.333 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007548/0.9686, allocations: 5.057 MB / 1.338 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.9691, allocations: 0.6043 MB / 1.338 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.9699, allocations: 0.9072 MB / 1.339 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005585/0.9754, allocations: 4.475 MB / 1.344 GB, free: 16 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9755, allocations: 3.938 kB / 1.344 GB, free: 12 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9755, allocations: 0 / 1.344 GB, free: 12 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.9755, allocations: 2.094 kB / 1.344 GB, free: 12 kB / 0.9981 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.002641/0.9782, allocations: 2.301 MB / 1.346 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9782, allocations: 11.09 kB / 1.346 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.9784, allocations: 189.7 kB / 1.346 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.9804, allocations: 482.8 kB / 1.346 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.9819, allocations: 1.256 MB / 1.348 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.982, allocations: 96.2 kB / 1.348 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9821, allocations: 129 kB / 1.348 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.9841, allocations: 1.72 MB / 1.35 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.9841, allocations: 8.281 kB / 1.35 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.9842, allocations: 50.84 kB / 1.35 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.9843, allocations: 62.25 kB / 1.35 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.9858, allocations: 1.223 MB / 1.351 GB, free: 13.83 MB / 1.014 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.005785/0.9916, allocations: 7.58 MB / 1.358 GB, free: 9.254 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.9923, allocations: 0.6526 MB / 1.359 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.9929, allocations: 0.6271 MB / 1.36 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.9944, allocations: 1.865 MB / 1.361 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.9944, allocations: 53.81 kB / 1.361 GB, free: 6.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.877e-06/0.9944, allocations: 4 kB / 1.361 GB, free: 6.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.001932/0.9963, allocations: 1.388 MB / 1.363 GB, free: 6.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.9965, allocations: 300.2 kB / 1.363 GB, free: 6.336 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.9983, allocations: 1.884 MB / 1.365 GB, free: 6.125 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.9983, allocations: 42.36 kB / 1.365 GB, free: 6.094 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.9988, allocations: 0.7334 MB / 1.366 GB, free: 5.957 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.999, allocations: 246.4 kB / 1.366 GB, free: 5.801 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.9992, allocations: 133 kB / 1.366 GB, free: 5.781 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.9993, allocations: 328.1 kB / 1.366 GB, free: 5.477 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.9996, allocations: 329.4 kB / 1.367 GB, free: 5.473 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/1, allocations: 0.5631 MB / 1.367 GB, free: 5.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/1.001, allocations: 0.8599 MB / 1.368 GB, free: 5.074 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.001, allocations: 0 / 1.368 GB, free: 5.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001189/1.002, allocations: 1.016 MB / 1.369 GB, free: 4.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.002, allocations: 11.41 kB / 1.369 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.002, allocations: 2.75 kB / 1.369 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.002, allocations: 8.469 kB / 1.369 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/1.003, allocations: 126.4 kB / 1.369 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.003, allocations: 5.344 kB / 1.369 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/1.003, allocations: 142.5 kB / 1.369 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/1.003, allocations: 42.52 kB / 1.369 GB, free: 4.543 MB / 1.014 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.0005174/1.004, allocations: 455.2 kB / 1.37 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/1.004, allocations: 196.2 kB / 1.37 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.006, allocations: 1.081 MB / 1.371 GB, free: 3.566 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.006, allocations: 15.02 kB / 1.371 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.006, allocations: 2.312 kB / 1.371 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/1.006, allocations: 8.766 kB / 1.371 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/1.016, allocations: 8.943 MB / 1.38 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.016, allocations: 17.66 kB / 1.38 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/1.016, allocations: 140.2 kB / 1.38 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/1.016, allocations: 19.72 kB / 1.38 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/1.016, allocations: 38.62 kB / 1.38 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/1.016, allocations: 30.92 kB / 1.38 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.016, allocations: 23.25 kB / 1.38 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/1.018, allocations: 1.672 MB / 1.382 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/1.019, allocations: 414.2 kB / 1.382 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.019, allocations: 42.08 kB / 1.382 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/1.019, allocations: 37.34 kB / 1.382 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.02, allocations: 112 kB / 1.382 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/1.02, allocations: 53.8 kB / 1.382 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001445/1.021, allocations: 1.319 MB / 1.384 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.021, allocations: 0 / 1.384 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001527/1.023, allocations: 0.5275 MB / 1.384 GB, free: 10.65 MB / 1.029 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.003749/1.026, allocations: 3.023 MB / 1.387 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009535/1.027, allocations: 0.8247 MB / 1.388 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.027, allocations: 0 / 1.388 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/1.028, allocations: 487.8 kB / 1.388 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005014/1.033, allocations: 1.271 MB / 1.39 GB, free: 7.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.052, allocations: 16.04 MB / 1.405 GB, free: 8.008 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000957/1.053, allocations: 1.398 MB / 1.407 GB, free: 6.582 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001326/1.055, allocations: 494.6 kB / 1.407 GB, free: 6.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007205/1.056, allocations: 0.6555 MB / 1.408 GB, free: 5.438 MB / 1.045 GB Notification: Performance of SimCode: time 6.02e-07/1.056, allocations: 0 / 1.408 GB, free: 5.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3385/1.394, allocations: 59.27 MB / 1.466 GB, free: 10.82 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.394, allocations: 244.8 kB / 1.466 GB, free: 10.57 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/4.302, allocations: 0 / 1.466 GB, free: 10.57 MB / 1.107 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