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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 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.001625/0.001625, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.266/2.266, allocations: 390.2 MB / 0.6647 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5749, allocations: 140.3 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2342/0.8091, allocations: 253.3 MB / 1.197 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.8322, allocations: 20.6 MB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.8344, allocations: 79.44 kB / 1.217 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.8362, allocations: 0.8337 MB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.8427, allocations: 2.909 MB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006041/0.8488, allocations: 2.741 MB / 1.224 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004799/0.8536, allocations: 3.816 MB / 1.227 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.8555, allocations: 1.304 MB / 1.229 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.8584, allocations: 1.415 MB / 1.23 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.86, allocations: 0.9915 MB / 1.231 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.8603, allocations: 108 kB / 1.231 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008165/0.8685, allocations: 4.181 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007031/0.8692, allocations: 0.6504 MB / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.8707, allocations: 0.9834 MB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006509/0.8772, allocations: 4.196 MB / 1.241 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.8773, allocations: 3.984 kB / 1.241 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8773, allocations: 0 / 1.241 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.227e-05/0.8773, allocations: 0 / 1.241 GB, free: 6.664 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.003337/0.8807, allocations: 2.287 MB / 1.243 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8807, allocations: 8.031 kB / 1.243 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002288/0.881, allocations: 190 kB / 1.243 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.883, allocations: 489 kB / 1.244 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.8848, allocations: 1.263 MB / 1.245 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.8849, allocations: 98.42 kB / 1.245 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.8851, allocations: 124 kB / 1.245 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.8875, allocations: 1.719 MB / 1.247 GB, free: 248 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.8875, allocations: 7.938 kB / 1.247 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.8876, allocations: 52 kB / 1.247 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-05/0.8877, allocations: 63.92 kB / 1.247 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3783/1.266, allocations: 1.217 MB / 1.248 GB, free: 287.5 MB / 0.9981 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.007171/1.273, allocations: 7.565 MB / 1.256 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/1.274, allocations: 0.6673 MB / 1.256 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/1.275, allocations: 0.6153 MB / 1.257 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/1.276, allocations: 1.874 MB / 1.259 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.276, allocations: 52.27 kB / 1.259 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.015e-06/1.276, allocations: 0 / 1.259 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002403/1.278, allocations: 1.392 MB / 1.26 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/1.279, allocations: 303.2 kB / 1.26 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/1.281, allocations: 1.885 MB / 1.262 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/1.281, allocations: 42.61 kB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/1.282, allocations: 0.7264 MB / 1.263 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/1.282, allocations: 246.6 kB / 1.263 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/1.282, allocations: 135.1 kB / 1.263 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/1.282, allocations: 329.1 kB / 1.264 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/1.283, allocations: 325.9 kB / 1.264 GB, free: 276 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/1.283, allocations: 0.5661 MB / 1.264 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/1.284, allocations: 0.8673 MB / 1.265 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.284, allocations: 1.375 kB / 1.265 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001251/1.286, allocations: 1.008 MB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.286, allocations: 6.375 kB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.286, allocations: 4.062 kB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.286, allocations: 7.219 kB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/1.286, allocations: 127.6 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.286, allocations: 10.5 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/1.287, allocations: 127.3 kB / 1.267 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/1.287, allocations: 46.17 kB / 1.267 GB, free: 274.5 MB / 0.9981 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.0004859/1.287, allocations: 451 kB / 1.267 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/1.288, allocations: 198.9 kB / 1.267 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.289, allocations: 1.078 MB / 1.268 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.289, allocations: 14.38 kB / 1.268 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/1.289, allocations: 15.27 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/1.289, allocations: 2.094 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009831/1.299, allocations: 8.934 MB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.299, allocations: 19.28 kB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/1.299, allocations: 146.5 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/1.299, allocations: 20.09 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/1.299, allocations: 45.42 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/1.3, allocations: 31.64 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-05/1.3, allocations: 25.19 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/1.301, allocations: 1.669 MB / 1.279 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/1.302, allocations: 415.8 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/1.302, allocations: 35.08 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/1.302, allocations: 30.84 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.303, allocations: 103.4 kB / 1.28 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.303, allocations: 57.98 kB / 1.28 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001463/1.304, allocations: 1.315 MB / 1.281 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.304, allocations: 0 / 1.281 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001645/1.306, allocations: 0.5327 MB / 1.281 GB, free: 264.6 MB / 0.9981 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.003815/1.31, allocations: 3.018 MB / 1.284 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.311, allocations: 0.8527 MB / 1.285 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.311, allocations: 2.906 kB / 1.285 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/1.311, allocations: 483.2 kB / 1.286 GB, free: 262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/1.317, allocations: 1.343 MB / 1.287 GB, free: 261.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.33, allocations: 15.63 MB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/1.331, allocations: 1.402 MB / 1.304 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001436/1.333, allocations: 495.4 kB / 1.304 GB, free: 245.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/1.333, allocations: 0.6555 MB / 1.305 GB, free: 245 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.333, allocations: 0 / 1.305 GB, free: 245 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5732/1.906, allocations: 60.87 MB / 1.364 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.458/11.36, allocations: 6.812 kB / 1.364 GB, free: 184.7 MB / 0.9981 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