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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009895/0.0009928, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007808/0.007808, allocations: 170 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003147, allocations: 11.98 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5464, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.723/1.269, allocations: 248.7 MB / 1.266 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.29, allocations: 20.55 MB / 1.286 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/1.292, allocations: 76.38 kB / 1.286 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/1.293, allocations: 0.65 MB / 1.287 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005532/1.299, allocations: 2.733 MB / 1.289 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/1.304, allocations: 2.506 MB / 1.292 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003917/1.308, allocations: 5.065 MB / 1.297 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/1.309, allocations: 1.056 MB / 1.298 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/1.31, allocations: 1.248 MB / 1.299 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008316/1.311, allocations: 1.037 MB / 1.3 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/1.311, allocations: 52.22 kB / 1.3 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006592/1.318, allocations: 5.055 MB / 1.305 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/1.318, allocations: 0.5979 MB / 1.306 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/1.319, allocations: 0.9202 MB / 1.307 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/1.323, allocations: 4.444 MB / 1.311 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.323, allocations: 7.062 kB / 1.311 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.323, allocations: 0 / 1.311 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.323, allocations: 0 / 1.311 GB, free: 16.81 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.001939/1.325, allocations: 1.898 MB / 1.313 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/1.325, allocations: 9.438 kB / 1.313 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/1.325, allocations: 194.5 kB / 1.313 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/1.327, allocations: 486.1 kB / 1.313 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.328, allocations: 1.256 MB / 1.315 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/1.328, allocations: 94.72 kB / 1.315 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.328, allocations: 122.8 kB / 1.315 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/1.33, allocations: 1.718 MB / 1.317 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.33, allocations: 11.72 kB / 1.317 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/1.33, allocations: 50.16 kB / 1.317 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/1.33, allocations: 67.92 kB / 1.317 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.332, allocations: 1.224 MB / 1.318 GB, free: 14.71 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.00535/1.337, allocations: 7.566 MB / 1.325 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/1.338, allocations: 0.669 MB / 1.326 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/1.338, allocations: 0.6194 MB / 1.326 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.34, allocations: 1.871 MB / 1.328 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.34, allocations: 61.05 kB / 1.328 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/1.34, allocations: 0 / 1.328 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.001706/1.341, allocations: 1.395 MB / 1.33 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.341, allocations: 303.1 kB / 1.33 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/1.343, allocations: 1.883 MB / 1.332 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/1.343, allocations: 44.08 kB / 1.332 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/1.344, allocations: 0.7299 MB / 1.333 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.344, allocations: 251.8 kB / 1.333 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/1.344, allocations: 49.84 kB / 1.333 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.344, allocations: 333 kB / 1.333 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.344, allocations: 326.4 kB / 1.334 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/1.345, allocations: 0.5658 MB / 1.334 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/1.346, allocations: 0.8532 MB / 1.335 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.346, allocations: 0 / 1.335 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009865/1.347, allocations: 1.016 MB / 1.336 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.347, allocations: 6.281 kB / 1.336 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.347, allocations: 7.531 kB / 1.336 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.347, allocations: 7.875 kB / 1.336 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/1.347, allocations: 122 kB / 1.336 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.347, allocations: 11.22 kB / 1.336 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/1.348, allocations: 132.3 kB / 1.336 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/1.348, allocations: 44.98 kB / 1.336 GB, free: 5.867 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.0004355/1.348, allocations: 459.6 kB / 1.337 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/1.348, allocations: 191.2 kB / 1.337 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/1.35, allocations: 1.091 MB / 1.338 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.35, allocations: 11.83 kB / 1.338 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.35, allocations: 3.531 kB / 1.338 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.35, allocations: 8.391 kB / 1.338 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008285/1.358, allocations: 8.786 MB / 1.347 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.358, allocations: 14.62 kB / 1.347 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/1.358, allocations: 145.1 kB / 1.347 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/1.358, allocations: 18.5 kB / 1.347 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/1.358, allocations: 35.47 kB / 1.347 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/1.358, allocations: 34.02 kB / 1.347 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.358, allocations: 23.81 kB / 1.347 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/1.36, allocations: 1.665 MB / 1.348 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/1.36, allocations: 417.8 kB / 1.349 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.361, allocations: 38.17 kB / 1.349 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/1.361, allocations: 42.53 kB / 1.349 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.361, allocations: 104.5 kB / 1.349 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/1.361, allocations: 55.08 kB / 1.349 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001456/1.363, allocations: 1.325 MB / 1.35 GB, free: 15.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.363, allocations: 0 / 1.35 GB, free: 15.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001418/1.364, allocations: 0.526 MB / 1.351 GB, free: 15.86 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.003531/1.368, allocations: 3.036 MB / 1.354 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009473/1.369, allocations: 0.8202 MB / 1.355 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.369, allocations: 2.844 kB / 1.355 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004846/1.369, allocations: 480.8 kB / 1.355 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/1.378, allocations: 1.277 MB / 1.356 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.397, allocations: 16.05 MB / 1.372 GB, free: 1.277 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/1.398, allocations: 1.407 MB / 1.373 GB, free: 240 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001441/1.399, allocations: 496 kB / 1.374 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/1.4, allocations: 0.6542 MB / 1.374 GB, free: 15.17 MB / 1.029 GB Notification: Performance of SimCode: time 1.322e-06/1.4, allocations: 0 / 1.374 GB, free: 15.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.513/4.913, allocations: 58.84 MB / 1.432 GB, free: 5.062 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/4.913, allocations: 227.4 kB / 1.432 GB, free: 4.812 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/8.218, allocations: 0 / 1.432 GB, free: 4.812 MB / 1.076 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