Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.001421/0.001421, 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.00162/0.00162, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.245/2.245, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 55.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.551, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2077/0.7587, allocations: 214.1 MB / 1.159 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.7732, allocations: 12.18 MB / 1.171 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.7747, allocations: 43.69 kB / 1.171 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.7762, allocations: 0.5041 MB / 1.171 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004281/0.7805, allocations: 1.878 MB / 1.173 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.7846, allocations: 1.893 MB / 1.175 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.7871, allocations: 2.375 MB / 1.177 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.7887, allocations: 1.197 MB / 1.178 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.79, allocations: 0.8327 MB / 1.179 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008656/0.7909, allocations: 0.6496 MB / 1.18 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.7911, allocations: 91.94 kB / 1.18 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00481/0.7959, allocations: 2.84 MB / 1.183 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004939/0.7964, allocations: 0.5376 MB / 1.183 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008824/0.7973, allocations: 0.7309 MB / 1.184 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.8014, allocations: 3.117 MB / 1.187 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8014, allocations: 4 kB / 1.187 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8014, allocations: 3.984 kB / 1.187 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.8014, allocations: 0 / 1.187 GB, free: 14.02 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002356/0.8038, allocations: 1.732 MB / 1.189 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.8038, allocations: 11.97 kB / 1.189 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.804, allocations: 168.6 kB / 1.189 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.8057, allocations: 373.8 kB / 1.189 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.807, allocations: 0.8839 MB / 1.19 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.807, allocations: 78.02 kB / 1.19 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.8071, allocations: 100 kB / 1.19 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.8091, allocations: 1.509 MB / 1.192 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.8091, allocations: 11.92 kB / 1.192 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.8092, allocations: 47.94 kB / 1.192 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-05/0.8093, allocations: 57.55 kB / 1.192 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.8106, allocations: 1.021 MB / 1.193 GB, free: 7.816 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.005901/0.8166, allocations: 5.922 MB / 1.199 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.8171, allocations: 322.2 kB / 1.199 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.8174, allocations: 247.4 kB / 1.199 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.818, allocations: 0.7081 MB / 1.2 GB, free: 120 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.818, allocations: 42.55 kB / 1.2 GB, free: 68 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/0.8181, allocations: 0 / 1.2 GB, free: 68 kB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001238/0.8193, allocations: 0.6758 MB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.8194, allocations: 128.5 kB / 1.201 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.8212, allocations: 1.658 MB / 1.202 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.8213, allocations: 29.7 kB / 1.202 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.8217, allocations: 0.5502 MB / 1.203 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.8218, allocations: 106.5 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.8219, allocations: 69.69 kB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.822, allocations: 321.9 kB / 1.203 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.8222, allocations: 163.9 kB / 1.203 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.8226, allocations: 282.2 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.8231, allocations: 441.9 kB / 1.204 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8231, allocations: 0 / 1.204 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007529/0.8238, allocations: 0.5622 MB / 1.205 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8239, allocations: 12 kB / 1.205 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8239, allocations: 4 kB / 1.205 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8239, allocations: 4 kB / 1.205 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.8241, allocations: 55.91 kB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8241, allocations: 4 kB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.8246, allocations: 106.5 kB / 1.205 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.8247, allocations: 27.98 kB / 1.205 GB, free: 10.75 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004178/0.8251, allocations: 381.5 kB / 1.205 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.8253, allocations: 138.2 kB / 1.205 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.8259, allocations: 385.2 kB / 1.206 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.8259, allocations: 4 kB / 1.206 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8259, allocations: 0 / 1.206 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8259, allocations: 0 / 1.206 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.8293, allocations: 2.603 MB / 1.208 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8293, allocations: 4 kB / 1.208 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.8295, allocations: 55.84 kB / 1.208 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.8295, allocations: 12.72 kB / 1.208 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.8295, allocations: 12 kB / 1.208 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.8295, allocations: 15.98 kB / 1.208 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/0.8295, allocations: 15.94 kB / 1.208 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.8302, allocations: 0.6162 MB / 1.209 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.8306, allocations: 299.1 kB / 1.209 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.8307, allocations: 12 kB / 1.209 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.8311, allocations: 12 kB / 1.209 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.8312, allocations: 35.84 kB / 1.209 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.8312, allocations: 20 kB / 1.209 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001369/0.8326, allocations: 1.203 MB / 1.211 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8326, allocations: 0 / 1.211 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009588/0.8336, allocations: 339.7 kB / 1.211 GB, free: 4.293 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.002534/0.8361, allocations: 1.687 MB / 1.213 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.8367, allocations: 360 kB / 1.213 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.8367, allocations: 4 kB / 1.213 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.8369, allocations: 161.2 kB / 1.213 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/0.8408, allocations: 0.9232 MB / 1.214 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.854, allocations: 11.4 MB / 1.225 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.8548, allocations: 1.204 MB / 1.226 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009559/0.8558, allocations: 302.6 kB / 1.227 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.8563, allocations: 463.3 kB / 1.227 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.8563, allocations: 0 / 1.227 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9591/1.815, allocations: 42.88 MB / 1.269 GB, free: 274 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.108/10.92, allocations: 8.391 kB / 1.269 GB, free: 274 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches