Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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 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.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.001411/0.001411, allocations: 108 kB / 15.61 MB, free: 152 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.001616/0.001616, allocations: 196.4 kB / 16.53 MB, free: 6.699 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.288/2.288, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5536, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1943/0.7479, allocations: 214.1 MB / 1.159 GB, free: 11 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.7605, allocations: 12.17 MB / 1.171 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008063/0.7614, allocations: 43.69 kB / 1.171 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.7624, allocations: 0.5041 MB / 1.171 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.7661, allocations: 1.878 MB / 1.173 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.7698, allocations: 1.893 MB / 1.175 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.7719, allocations: 2.344 MB / 1.177 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.7733, allocations: 1.236 MB / 1.178 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.7745, allocations: 0.8172 MB / 1.179 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.7753, allocations: 0.6651 MB / 1.18 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.7755, allocations: 88 kB / 1.18 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.7801, allocations: 2.848 MB / 1.183 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.7806, allocations: 0.5415 MB / 1.183 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.7814, allocations: 0.7348 MB / 1.184 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.7853, allocations: 3.144 MB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7853, allocations: 0 / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7854, allocations: 0 / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.682e-05/0.7854, allocations: 0 / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002407/0.7878, allocations: 1.733 MB / 1.189 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7879, allocations: 8.031 kB / 1.189 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.7881, allocations: 176.7 kB / 1.189 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.7897, allocations: 377.8 kB / 1.189 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.7909, allocations: 0.8955 MB / 1.19 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.791, allocations: 82 kB / 1.19 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7911, allocations: 103.9 kB / 1.19 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.7931, allocations: 1.536 MB / 1.192 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7932, allocations: 0 / 1.192 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.7933, allocations: 51.94 kB / 1.192 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.316e-05/0.7934, allocations: 57.55 kB / 1.192 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.7947, allocations: 1.025 MB / 1.193 GB, free: 7.742 MB / 0.9512 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.005976/0.8007, allocations: 5.961 MB / 1.199 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.8013, allocations: 322.2 kB / 1.199 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.8017, allocations: 251.3 kB / 1.199 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.8024, allocations: 0.7081 MB / 1.2 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.8024, allocations: 38.56 kB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/0.8025, allocations: 0 / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001349/0.8038, allocations: 0.6758 MB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.8039, allocations: 140.4 kB / 1.201 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.8058, allocations: 1.678 MB / 1.202 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.8059, allocations: 33.7 kB / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.8064, allocations: 0.566 MB / 1.203 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.8065, allocations: 90.66 kB / 1.203 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.8066, allocations: 61.73 kB / 1.203 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8067, allocations: 322 kB / 1.203 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8069, allocations: 151.9 kB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.8072, allocations: 272.9 kB / 1.204 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.8077, allocations: 408.2 kB / 1.204 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8077, allocations: 8 kB / 1.204 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000732/0.8084, allocations: 0.5347 MB / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8085, allocations: 8 kB / 1.205 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8085, allocations: 0 / 1.205 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8085, allocations: 4 kB / 1.205 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.8087, allocations: 59.91 kB / 1.205 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.8087, allocations: 11.88 kB / 1.205 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.8092, allocations: 110.7 kB / 1.205 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.8093, allocations: 23.98 kB / 1.205 GB, free: 10.69 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004006/0.8097, allocations: 369.6 kB / 1.205 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.8099, allocations: 138.3 kB / 1.205 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.8104, allocations: 396.8 kB / 1.206 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8104, allocations: 4 kB / 1.206 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8105, allocations: 7.938 kB / 1.206 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.8105, allocations: 0 / 1.206 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.8138, allocations: 2.611 MB / 1.208 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8138, allocations: 4 kB / 1.208 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.814, allocations: 55.91 kB / 1.208 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.814, allocations: 8 kB / 1.208 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.8141, allocations: 8 kB / 1.208 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.8141, allocations: 11.94 kB / 1.208 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.8141, allocations: 8 kB / 1.208 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.8147, allocations: 0.628 MB / 1.209 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.8151, allocations: 299.1 kB / 1.209 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.8153, allocations: 16 kB / 1.209 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.8156, allocations: 8 kB / 1.209 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.8157, allocations: 39.84 kB / 1.209 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.8157, allocations: 12 kB / 1.209 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001381/0.8171, allocations: 1.227 MB / 1.211 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8171, allocations: 0 / 1.211 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008804/0.818, allocations: 343.7 kB / 1.211 GB, free: 4.207 MB / 0.9669 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.002385/0.8204, allocations: 1.677 MB / 1.213 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.8209, allocations: 359.4 kB / 1.213 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8209, allocations: 4 kB / 1.213 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.8211, allocations: 161.2 kB / 1.213 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/0.8246, allocations: 0.9302 MB / 1.214 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.8414, allocations: 11.54 MB / 1.225 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.8426, allocations: 1.212 MB / 1.226 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001337/0.844, allocations: 294.8 kB / 1.227 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/0.8447, allocations: 463.3 kB / 1.227 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.8447, allocations: 0 / 1.227 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9144/1.759, allocations: 43.11 MB / 1.269 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/10.37, allocations: 7.344 kB / 1.269 GB, free: 273.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches