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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007156/0.007156, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002097/0.002097, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.394/2.394, allocations: 482.6 MB / 0.755 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 64.19 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2532, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2351/0.4883, allocations: 253.4 MB / 1.489 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.5105, allocations: 20.61 MB / 1.509 GB, free: 5.934 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.5117, allocations: 71.5 kB / 1.509 GB, free: 5.863 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.5132, allocations: 0.8337 MB / 1.51 GB, free: 5.023 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.5186, allocations: 2.912 MB / 1.513 GB, free: 2.098 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00504/0.5236, allocations: 2.754 MB / 1.516 GB, free: 15.35 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.5272, allocations: 3.819 MB / 1.52 GB, free: 11.52 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.5287, allocations: 1.308 MB / 1.521 GB, free: 10.18 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007792/0.5365, allocations: 4.755 MB / 1.525 GB, free: 5.418 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.5375, allocations: 0.9681 MB / 1.526 GB, free: 4.445 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.5376, allocations: 112 kB / 1.527 GB, free: 4.336 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005367/0.543, allocations: 3.484 MB / 1.53 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.5435, allocations: 0.6426 MB / 1.531 GB, free: 204 kB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008535/0.5444, allocations: 0.9796 MB / 1.532 GB, free: 15.21 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.5489, allocations: 4.166 MB / 1.536 GB, free: 11.04 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5489, allocations: 0 / 1.536 GB, free: 11.04 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5489, allocations: 4 kB / 1.536 GB, free: 11.03 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.5489, allocations: 0 / 1.536 GB, free: 11.03 MB / 1.264 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.002483/0.5514, allocations: 2.366 MB / 1.538 GB, free: 8.605 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5515, allocations: 12.03 kB / 1.538 GB, free: 8.594 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.5516, allocations: 186 kB / 1.538 GB, free: 8.402 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.5535, allocations: 494.3 kB / 1.539 GB, free: 7.918 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.5553, allocations: 1.393 MB / 1.54 GB, free: 6.473 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.5554, allocations: 94.44 kB / 1.54 GB, free: 6.379 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.5555, allocations: 124 kB / 1.54 GB, free: 6.258 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.5576, allocations: 1.719 MB / 1.542 GB, free: 4.398 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.5577, allocations: 7.938 kB / 1.542 GB, free: 4.391 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.5578, allocations: 48 kB / 1.542 GB, free: 4.344 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/0.5578, allocations: 71.91 kB / 1.542 GB, free: 4.273 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.5594, allocations: 1.226 MB / 1.543 GB, free: 3.047 MB / 1.264 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.4669/1.026, allocations: 7.541 MB / 1.55 GB, free: 299.1 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/1.027, allocations: 0.6693 MB / 1.551 GB, free: 298.8 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/1.028, allocations: 0.6119 MB / 1.552 GB, free: 298.8 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009244/1.029, allocations: 1.867 MB / 1.554 GB, free: 296.7 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.029, allocations: 60.91 kB / 1.554 GB, free: 296.6 MB / 1.264 GB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/1.029, allocations: 0 / 1.554 GB, free: 296.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=72): time 0.002214/1.031, allocations: 1.406 MB / 1.555 GB, free: 296.3 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/1.031, allocations: 300.3 kB / 1.555 GB, free: 295.9 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.033, allocations: 1.889 MB / 1.557 GB, free: 295.2 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/1.033, allocations: 42.92 kB / 1.557 GB, free: 295.2 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/1.034, allocations: 0.7263 MB / 1.558 GB, free: 294.6 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.034, allocations: 261 kB / 1.558 GB, free: 294.4 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.034, allocations: 129.9 kB / 1.558 GB, free: 294.4 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/1.034, allocations: 331.3 kB / 1.559 GB, free: 294.1 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/1.034, allocations: 328.2 kB / 1.559 GB, free: 294 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/1.035, allocations: 0.5672 MB / 1.559 GB, free: 293.7 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/1.036, allocations: 0.856 MB / 1.56 GB, free: 293.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.036, allocations: 1.062 kB / 1.56 GB, free: 293.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001075/1.037, allocations: 1.022 MB / 1.561 GB, free: 292.9 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.037, allocations: 6.891 kB / 1.561 GB, free: 292.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.037, allocations: 7.969 kB / 1.561 GB, free: 292.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.037, allocations: 10.23 kB / 1.561 GB, free: 292.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/1.037, allocations: 122 kB / 1.561 GB, free: 292.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.037, allocations: 7.922 kB / 1.561 GB, free: 292.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/1.038, allocations: 133.1 kB / 1.562 GB, free: 292.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/1.038, allocations: 42.83 kB / 1.562 GB, free: 292.8 MB / 1.264 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.0004167/1.038, allocations: 455.5 kB / 1.562 GB, free: 292.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/1.039, allocations: 210.6 kB / 1.562 GB, free: 292.4 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/1.04, allocations: 1.079 MB / 1.563 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.04, allocations: 15.72 kB / 1.563 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.04, allocations: 3.312 kB / 1.563 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.04, allocations: 5.656 kB / 1.563 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008053/1.048, allocations: 8.76 MB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.048, allocations: 20.91 kB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/1.048, allocations: 141.7 kB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/1.048, allocations: 20.16 kB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/1.048, allocations: 38.91 kB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.795e-05/1.049, allocations: 31.34 kB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/1.049, allocations: 25.81 kB / 1.572 GB, free: 287.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.05, allocations: 1.675 MB / 1.574 GB, free: 285.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/1.05, allocations: 426.3 kB / 1.574 GB, free: 285.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.05, allocations: 33.89 kB / 1.574 GB, free: 285.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/1.051, allocations: 23.88 kB / 1.574 GB, free: 285.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.051, allocations: 117.5 kB / 1.574 GB, free: 285.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/1.051, allocations: 52.56 kB / 1.574 GB, free: 285.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001289/1.052, allocations: 1.316 MB / 1.576 GB, free: 285 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 1.576 GB, free: 285 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001206/1.054, allocations: 0.5245 MB / 1.576 GB, free: 284.9 MB / 1.264 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.002792/1.056, allocations: 3.006 MB / 1.579 GB, free: 283.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009/1.057, allocations: 0.8532 MB / 1.58 GB, free: 282.9 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.057, allocations: 3.938 kB / 1.58 GB, free: 282.9 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004448/1.058, allocations: 489.1 kB / 1.58 GB, free: 282.7 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004571/1.062, allocations: 1.343 MB / 1.582 GB, free: 282.4 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.073, allocations: 13.92 MB / 1.595 GB, free: 273.2 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.073, allocations: 1.402 MB / 1.597 GB, free: 271.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008566/1.074, allocations: 482 kB / 1.597 GB, free: 271.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/1.075, allocations: 0.6516 MB / 1.598 GB, free: 270.6 MB / 1.264 GB Notification: Performance of SimCode: time 2.41e-07/1.075, allocations: 0 / 1.598 GB, free: 270.6 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.803/8.878, allocations: 60.1 MB / 1.656 GB, free: 211.2 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/22.86, allocations: 11.64 kB / 1.656 GB, free: 211.2 MB / 1.264 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=400 --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