Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryWithX_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.001433/0.001433, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001766/0.001766, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.284/2.284, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 0.8687 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4736, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1918/0.6654, allocations: 212.5 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.6785, allocations: 12.28 MB / 1.236 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.6797, allocations: 51.56 kB / 1.236 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.6808, allocations: 405.3 kB / 1.237 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.6847, allocations: 1.766 MB / 1.238 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003677/0.6884, allocations: 1.719 MB / 1.24 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002749/0.6912, allocations: 3.046 MB / 1.243 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.6925, allocations: 1.059 MB / 1.244 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.6936, allocations: 0.7273 MB / 1.245 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.6945, allocations: 0.7041 MB / 1.245 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.6946, allocations: 52 kB / 1.245 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004965/0.6996, allocations: 3.53 MB / 1.249 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.7, allocations: 0.4986 MB / 1.249 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.7008, allocations: 0.6801 MB / 1.25 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4692/1.17, allocations: 3.354 MB / 1.253 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.17, allocations: 2.812 kB / 1.253 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.17, allocations: 0.6562 kB / 1.253 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.05e-05/1.17, allocations: 0 / 1.253 GB, free: 11.03 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002304/1.172, allocations: 1.737 MB / 1.255 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.172, allocations: 11.14 kB / 1.255 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/1.173, allocations: 169.9 kB / 1.255 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.174, allocations: 375.3 kB / 1.256 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/1.176, allocations: 0.8918 MB / 1.256 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/1.176, allocations: 77.66 kB / 1.257 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.176, allocations: 104.6 kB / 1.257 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/1.178, allocations: 1.527 MB / 1.258 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.178, allocations: 2.875 kB / 1.258 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/1.178, allocations: 54.28 kB / 1.258 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.048e-05/1.178, allocations: 63.56 kB / 1.258 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.18, allocations: 1.023 MB / 1.259 GB, free: 9.582 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.005363/1.185, allocations: 5.965 MB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/1.186, allocations: 321.1 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/1.186, allocations: 244.5 kB / 1.266 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/1.186, allocations: 0.7097 MB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.186, allocations: 41.31 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/1.186, allocations: 0 / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001281/1.188, allocations: 0.679 MB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.188, allocations: 134.6 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/1.19, allocations: 1.681 MB / 1.269 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/1.19, allocations: 31.98 kB / 1.269 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/1.191, allocations: 0.5596 MB / 1.269 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/1.191, allocations: 95.36 kB / 1.269 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.191, allocations: 70.97 kB / 1.27 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.191, allocations: 323.6 kB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/1.191, allocations: 157 kB / 1.27 GB, free: 20.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/1.192, allocations: 268.1 kB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/1.192, allocations: 405.5 kB / 1.271 GB, free: 20.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.192, allocations: 4 kB / 1.271 GB, free: 20.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006853/1.193, allocations: 0.5411 MB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.193, allocations: 7.25 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.193, allocations: 1.875 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.193, allocations: 3.531 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/1.193, allocations: 55.78 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.193, allocations: 3.875 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/1.194, allocations: 116.3 kB / 1.271 GB, free: 19.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/1.194, allocations: 22.16 kB / 1.271 GB, free: 19.88 MB / 1.014 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.0003911/1.194, allocations: 379.7 kB / 1.272 GB, free: 19.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.194, allocations: 139.7 kB / 1.272 GB, free: 19.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/1.195, allocations: 390.8 kB / 1.272 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.195, allocations: 3.656 kB / 1.272 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.195, allocations: 1.312 kB / 1.272 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/1.195, allocations: 3.219 kB / 1.272 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.198, allocations: 2.613 MB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.198, allocations: 8.844 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/1.198, allocations: 50.73 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/1.198, allocations: 7.531 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.198, allocations: 13.22 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.198, allocations: 16.22 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.198, allocations: 9.875 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/1.199, allocations: 0.6181 MB / 1.275 GB, free: 18.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/1.199, allocations: 295.8 kB / 1.276 GB, free: 18.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/1.2, allocations: 22.47 kB / 1.276 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/1.2, allocations: 13.73 kB / 1.276 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/1.2, allocations: 42.53 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.2, allocations: 14.34 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001349/1.201, allocations: 1.225 MB / 1.277 GB, free: 17.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.201, allocations: 0 / 1.277 GB, free: 17.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009105/1.202, allocations: 339.4 kB / 1.277 GB, free: 17.92 MB / 1.014 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.002192/1.205, allocations: 1.686 MB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005019/1.205, allocations: 332.4 kB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.205, allocations: 5.438 kB / 1.279 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/1.205, allocations: 160.3 kB / 1.279 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.209, allocations: 0.8732 MB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.222, allocations: 11.78 MB / 1.292 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/1.222, allocations: 1.205 MB / 1.293 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008828/1.223, allocations: 299.9 kB / 1.293 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/1.224, allocations: 469.2 kB / 1.294 GB, free: 11.76 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/1.224, allocations: 0 / 1.294 GB, free: 11.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6019/1.826, allocations: 41.97 MB / 1.335 GB, free: 2.113 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/1.826, allocations: 241.2 kB / 1.335 GB, free: 1.863 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/4.589, allocations: 0 / 1.335 GB, free: 1.863 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches