Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.001084/0.001084, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 197.6 kB / 16.54 MB, free: 6.684 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.19 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2472, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6488/0.8961, allocations: 214.1 MB / 1.262 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.9071, allocations: 12.16 MB / 1.274 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009233/0.9081, allocations: 41.72 kB / 1.274 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.9091, allocations: 0.5072 MB / 1.274 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.9126, allocations: 1.88 MB / 1.276 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.9162, allocations: 1.898 MB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.9186, allocations: 2.374 MB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.9199, allocations: 1.197 MB / 1.282 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.921, allocations: 0.829 MB / 1.282 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.9218, allocations: 0.6542 MB / 1.283 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.922, allocations: 89.69 kB / 1.283 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004909/0.927, allocations: 2.838 MB / 1.286 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.9274, allocations: 0.5405 MB / 1.286 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006625/0.9281, allocations: 0.7257 MB / 1.287 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.9316, allocations: 3.128 MB / 1.29 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9316, allocations: 1.25 kB / 1.29 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9316, allocations: 0.8125 kB / 1.29 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.9316, allocations: 2.906 kB / 1.29 GB, free: 2.074 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001875/0.9335, allocations: 1.728 MB / 1.292 GB, free: 17.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.9335, allocations: 10.38 kB / 1.292 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.9337, allocations: 172.5 kB / 1.292 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.9352, allocations: 368 kB / 1.292 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.9362, allocations: 0.8867 MB / 1.293 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.9363, allocations: 77.89 kB / 1.293 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.9364, allocations: 99.53 kB / 1.293 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.9381, allocations: 1.52 MB / 1.295 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.9381, allocations: 1.281 kB / 1.295 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.9382, allocations: 48.92 kB / 1.295 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.9383, allocations: 60.16 kB / 1.295 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.9394, allocations: 1.018 MB / 1.296 GB, free: 16.38 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.004904/0.9443, allocations: 5.933 MB / 1.302 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.9448, allocations: 322.8 kB / 1.302 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.945, allocations: 246.2 kB / 1.302 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.9456, allocations: 0.7085 MB / 1.303 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.9457, allocations: 44.56 kB / 1.303 GB, free: 11.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.9457, allocations: 0.9062 kB / 1.303 GB, free: 11.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001082/0.9468, allocations: 0.6652 MB / 1.304 GB, free: 11.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.9468, allocations: 136.8 kB / 1.304 GB, free: 11.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.9484, allocations: 1.664 MB / 1.305 GB, free: 11.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.9485, allocations: 36.02 kB / 1.305 GB, free: 11.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.9488, allocations: 0.5471 MB / 1.306 GB, free: 11.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.9489, allocations: 95.67 kB / 1.306 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.949, allocations: 69.03 kB / 1.306 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.9491, allocations: 316.5 kB / 1.306 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.9493, allocations: 163 kB / 1.307 GB, free: 11.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.9496, allocations: 291.2 kB / 1.307 GB, free: 10.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.95, allocations: 436.3 kB / 1.307 GB, free: 10.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.95, allocations: 5.109 kB / 1.307 GB, free: 10.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000647/0.9507, allocations: 0.5622 MB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9507, allocations: 6.25 kB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9507, allocations: 3.812 kB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9507, allocations: 4.812 kB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.9509, allocations: 56.64 kB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.951, allocations: 11.84 kB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.9514, allocations: 110.3 kB / 1.308 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.9515, allocations: 21.94 kB / 1.308 GB, free: 10.65 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0003354/0.9518, allocations: 375.5 kB / 1.308 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.952, allocations: 139.2 kB / 1.309 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.9525, allocations: 383.9 kB / 1.309 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.9525, allocations: 3.375 kB / 1.309 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.9525, allocations: 6.5 kB / 1.309 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9525, allocations: 3.859 kB / 1.309 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.9554, allocations: 2.601 MB / 1.311 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.9554, allocations: 5.5 kB / 1.311 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.9556, allocations: 63.7 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.9556, allocations: 7.656 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.9557, allocations: 12 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.9557, allocations: 16.28 kB / 1.312 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9557, allocations: 7.25 kB / 1.312 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.9562, allocations: 0.6172 MB / 1.312 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.9566, allocations: 293.7 kB / 1.312 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.9567, allocations: 16.78 kB / 1.312 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.9571, allocations: 13.28 kB / 1.312 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.9571, allocations: 36.17 kB / 1.313 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.9572, allocations: 18.78 kB / 1.313 GB, free: 8.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001158/0.9583, allocations: 1.208 MB / 1.314 GB, free: 8.762 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9583, allocations: 0.5625 kB / 1.314 GB, free: 8.762 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008876/0.9592, allocations: 335.9 kB / 1.314 GB, free: 8.727 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002023/0.9613, allocations: 1.672 MB / 1.316 GB, free: 7.758 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.9617, allocations: 370 kB / 1.316 GB, free: 7.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9617, allocations: 0 / 1.316 GB, free: 7.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.9618, allocations: 160.5 kB / 1.316 GB, free: 7.746 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.9652, allocations: 0.9196 MB / 1.317 GB, free: 7.586 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.976, allocations: 11.39 MB / 1.328 GB, free: 3.504 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.9767, allocations: 1.21 MB / 1.329 GB, free: 2.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000863/0.9776, allocations: 298.2 kB / 1.33 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.978, allocations: 457.2 kB / 1.33 GB, free: 2.715 MB / 1.014 GB Notification: Performance of SimCode: time 1.242e-06/0.9781, allocations: 2.438 kB / 1.33 GB, free: 2.715 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5617/1.54, allocations: 42.91 MB / 1.372 GB, free: 13.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/11.67, allocations: 7.938 kB / 1.372 GB, free: 13.23 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches