Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_10_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.001268/0.001268, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00132/0.00132, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5203, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7099/1.23, allocations: 251.2 MB / 1.262 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02152/1.252, allocations: 20.6 MB / 1.282 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/1.255, allocations: 85.41 kB / 1.282 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/1.256, allocations: 0.6956 MB / 1.283 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006579/1.263, allocations: 2.74 MB / 1.286 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005848/1.269, allocations: 2.563 MB / 1.288 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004655/1.273, allocations: 3.84 MB / 1.292 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/1.275, allocations: 1.23 MB / 1.293 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/1.277, allocations: 1.434 MB / 1.295 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009775/1.278, allocations: 1.076 MB / 1.296 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/1.279, allocations: 109.5 kB / 1.296 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007435/1.286, allocations: 4.784 MB / 1.301 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/1.286, allocations: 0.656 MB / 1.301 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009334/1.287, allocations: 0.9857 MB / 1.302 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005283/1.293, allocations: 4.526 MB / 1.307 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.293, allocations: 0 / 1.307 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/1.293, allocations: 0.8125 kB / 1.307 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.701e-05/1.293, allocations: 2.906 kB / 1.307 GB, free: 1.273 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002231/1.295, allocations: 2.288 MB / 1.309 GB, free: 16.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.295, allocations: 12.47 kB / 1.309 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/1.295, allocations: 195.9 kB / 1.309 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/1.297, allocations: 481.9 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.298, allocations: 1.262 MB / 1.311 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/1.298, allocations: 93.66 kB / 1.311 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.299, allocations: 127.8 kB / 1.311 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/1.3, allocations: 1.722 MB / 1.313 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/1.3, allocations: 8.859 kB / 1.313 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/1.301, allocations: 55.42 kB / 1.313 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/1.301, allocations: 68.78 kB / 1.313 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/1.302, allocations: 1.218 MB / 1.314 GB, free: 15.11 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.005474/1.307, allocations: 7.567 MB / 1.321 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/1.308, allocations: 0.6661 MB / 1.322 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/1.309, allocations: 0.6137 MB / 1.323 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.31, allocations: 1.871 MB / 1.324 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.31, allocations: 48.28 kB / 1.324 GB, free: 8.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.315e-06/1.31, allocations: 0 / 1.324 GB, free: 8.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.001882/1.312, allocations: 1.397 MB / 1.326 GB, free: 8.023 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.312, allocations: 295.2 kB / 1.326 GB, free: 7.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/1.314, allocations: 1.891 MB / 1.328 GB, free: 7.469 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/1.314, allocations: 37.8 kB / 1.328 GB, free: 7.438 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/1.314, allocations: 0.7302 MB / 1.329 GB, free: 7.305 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/1.314, allocations: 244.6 kB / 1.329 GB, free: 7.148 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.315, allocations: 138.2 kB / 1.329 GB, free: 7.129 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/1.315, allocations: 326.8 kB / 1.329 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.315, allocations: 329.3 kB / 1.33 GB, free: 6.824 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/1.316, allocations: 0.5678 MB / 1.33 GB, free: 6.691 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/1.316, allocations: 0.8645 MB / 1.331 GB, free: 6.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.316, allocations: 2.969 kB / 1.331 GB, free: 6.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001079/1.318, allocations: 1.009 MB / 1.332 GB, free: 6.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.318, allocations: 4.875 kB / 1.332 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.318, allocations: 6.969 kB / 1.332 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.318, allocations: 4.969 kB / 1.332 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/1.318, allocations: 124.6 kB / 1.332 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.318, allocations: 12.34 kB / 1.332 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/1.319, allocations: 135.6 kB / 1.332 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/1.319, allocations: 45.41 kB / 1.332 GB, free: 6.34 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.0004517/1.319, allocations: 458 kB / 1.333 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.32, allocations: 192.8 kB / 1.333 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.321, allocations: 1.084 MB / 1.334 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.321, allocations: 11.75 kB / 1.334 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.321, allocations: 2.312 kB / 1.334 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.321, allocations: 5.422 kB / 1.334 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009137/1.33, allocations: 8.94 MB / 1.343 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.33, allocations: 16.38 kB / 1.343 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/1.33, allocations: 145.7 kB / 1.343 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/1.33, allocations: 22.34 kB / 1.343 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/1.331, allocations: 34.14 kB / 1.343 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.331, allocations: 31.62 kB / 1.343 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/1.331, allocations: 28.47 kB / 1.343 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/1.332, allocations: 1.662 MB / 1.345 GB, free: 2.312 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/1.333, allocations: 414.9 kB / 1.345 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.333, allocations: 41.05 kB / 1.345 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/1.333, allocations: 44.62 kB / 1.345 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.334, allocations: 110.9 kB / 1.345 GB, free: 2.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/1.334, allocations: 52.44 kB / 1.345 GB, free: 2.066 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001295/1.335, allocations: 1.316 MB / 1.347 GB, free: 1.922 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.335, allocations: 2.531 kB / 1.347 GB, free: 1.922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0015/1.336, allocations: 0.5272 MB / 1.347 GB, free: 1.859 MB / 1.014 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.003556/1.34, allocations: 3.038 MB / 1.35 GB, free: 272 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.341, allocations: 0.8587 MB / 1.351 GB, free: 256 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.341, allocations: 1.438 kB / 1.351 GB, free: 256 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005285/1.342, allocations: 485.4 kB / 1.351 GB, free: 252 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/1.346, allocations: 1.341 MB / 1.353 GB, free: 24 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.365, allocations: 16.04 MB / 1.368 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/1.366, allocations: 1.406 MB / 1.37 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001455/1.367, allocations: 483.3 kB / 1.37 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/1.368, allocations: 0.6623 MB / 1.371 GB, free: 5.816 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/1.368, allocations: 0 / 1.371 GB, free: 5.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.23/3.598, allocations: 60.56 MB / 1.43 GB, free: 13.62 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/3.598, allocations: 232.2 kB / 1.43 GB, free: 13.37 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/7.497, allocations: 0 / 1.43 GB, free: 13.37 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches