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.005293/0.005293, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.00122/0.001221, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 66.77 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2886, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9887/1.277, allocations: 214 MB / 1.296 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01651/1.294, allocations: 12.17 MB / 1.308 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/1.296, allocations: 43.69 kB / 1.308 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/1.298, allocations: 0.5131 MB / 1.309 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006069/1.304, allocations: 1.881 MB / 1.311 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005416/1.309, allocations: 1.902 MB / 1.313 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003922/1.313, allocations: 2.35 MB / 1.315 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.315, allocations: 1.234 MB / 1.316 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/1.317, allocations: 0.833 MB / 1.317 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/1.318, allocations: 0.6595 MB / 1.318 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/1.319, allocations: 89.84 kB / 1.318 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006889/1.326, allocations: 2.7 MB / 1.32 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005965/1.326, allocations: 0.5447 MB / 1.321 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/1.327, allocations: 0.7371 MB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006053/1.333, allocations: 3.105 MB / 1.325 GB, free: 1.949 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.333, allocations: 0.7812 kB / 1.325 GB, free: 1.949 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.333, allocations: 0 / 1.325 GB, free: 1.949 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.699e-05/1.333, allocations: 1.969 kB / 1.325 GB, free: 1.949 MB / 1.014 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.002943/1.336, allocations: 1.744 MB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.336, allocations: 9.25 kB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/1.337, allocations: 170 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/1.338, allocations: 376.6 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/1.34, allocations: 0.9604 MB / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/1.34, allocations: 77.69 kB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.34, allocations: 105.2 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/1.342, allocations: 1.534 MB / 1.329 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/1.342, allocations: 1.5 kB / 1.329 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.384e-05/1.343, allocations: 49.25 kB / 1.329 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/1.343, allocations: 59.77 kB / 1.33 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.344, allocations: 1.023 MB / 1.331 GB, free: 240 kB / 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.007974/1.352, allocations: 5.859 MB / 1.336 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/1.353, allocations: 323.8 kB / 1.337 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/1.353, allocations: 248.2 kB / 1.337 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009897/1.354, allocations: 0.7093 MB / 1.337 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/1.354, allocations: 43.75 kB / 1.338 GB, free: 11.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 4.288e-06/1.354, allocations: 1 kB / 1.338 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001659/1.356, allocations: 0.6694 MB / 1.338 GB, free: 11.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/1.356, allocations: 141.5 kB / 1.338 GB, free: 11.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.358, allocations: 1.676 MB / 1.34 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/1.358, allocations: 32.7 kB / 1.34 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/1.359, allocations: 0.5607 MB / 1.341 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/1.359, allocations: 94.83 kB / 1.341 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.359, allocations: 69.25 kB / 1.341 GB, free: 11.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.359, allocations: 323 kB / 1.341 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/1.359, allocations: 158.2 kB / 1.341 GB, free: 10.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/1.36, allocations: 271.6 kB / 1.341 GB, free: 10.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/1.36, allocations: 407.6 kB / 1.342 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.36, allocations: 2.75 kB / 1.342 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007236/1.361, allocations: 0.5408 MB / 1.342 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.361, allocations: 5.25 kB / 1.342 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.361, allocations: 3.406 kB / 1.342 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.361, allocations: 2.125 kB / 1.342 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/1.361, allocations: 58.28 kB / 1.342 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.361, allocations: 10.88 kB / 1.342 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/1.362, allocations: 107.5 kB / 1.343 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/1.362, allocations: 21.12 kB / 1.343 GB, free: 10.06 MB / 1.029 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.0004156/1.362, allocations: 376.3 kB / 1.343 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.363, allocations: 136.3 kB / 1.343 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/1.363, allocations: 384.6 kB / 1.343 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.363, allocations: 8.281 kB / 1.343 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.363, allocations: 3.406 kB / 1.343 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.363, allocations: 3 kB / 1.343 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/1.366, allocations: 2.516 MB / 1.346 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.366, allocations: 8.094 kB / 1.346 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/1.367, allocations: 52.95 kB / 1.346 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/1.367, allocations: 11.28 kB / 1.346 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.367, allocations: 16.38 kB / 1.346 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/1.367, allocations: 16.66 kB / 1.346 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.367, allocations: 9.781 kB / 1.346 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/1.367, allocations: 0.6167 MB / 1.347 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/1.368, allocations: 302.9 kB / 1.347 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.368, allocations: 15.28 kB / 1.347 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/1.368, allocations: 8.469 kB / 1.347 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/1.368, allocations: 43.69 kB / 1.347 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/1.368, allocations: 15.94 kB / 1.347 GB, free: 7.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001357/1.37, allocations: 1.223 MB / 1.348 GB, free: 6.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.37, allocations: 0 / 1.348 GB, free: 6.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001269/1.371, allocations: 322 kB / 1.348 GB, free: 6.875 MB / 1.029 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.002216/1.373, allocations: 1.676 MB / 1.35 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004913/1.374, allocations: 351.3 kB / 1.35 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.374, allocations: 2.469 kB / 1.35 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/1.374, allocations: 165.3 kB / 1.351 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.378, allocations: 0.9222 MB / 1.351 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.39, allocations: 10.46 MB / 1.362 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/1.391, allocations: 1.207 MB / 1.363 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001072/1.392, allocations: 298.3 kB / 1.363 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/1.393, allocations: 464.2 kB / 1.364 GB, free: 15.52 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/1.393, allocations: 0 / 1.364 GB, free: 15.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08086/1.474, allocations: 44.57 MB / 1.407 GB, free: 15.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.88, allocations: 2.188 kB / 1.407 GB, free: 15.5 MB / 1.076 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