Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_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.006293/0.006292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003502/0.003502, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.231/3.231, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.798/4.798, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 68.58 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4117, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 1.313/1.725, allocations: 211.9 MB / 1.259 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02641/1.751, allocations: 12.16 MB / 1.271 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/1.754, allocations: 47.91 kB / 1.271 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/1.756, allocations: 438.5 kB / 1.272 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.768, allocations: 1.771 MB / 1.273 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01118/1.779, allocations: 1.776 MB / 1.275 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005737/1.785, allocations: 2.354 MB / 1.277 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007251/1.792, allocations: 1.168 MB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/1.795, allocations: 0.831 MB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/1.797, allocations: 0.7305 MB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/1.797, allocations: 90.59 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/1.808, allocations: 3.253 MB / 1.283 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/1.809, allocations: 0.5468 MB / 1.284 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/1.811, allocations: 0.7369 MB / 1.285 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.822, allocations: 3.403 MB / 1.288 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/1.823, allocations: 0.9688 kB / 1.288 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.823, allocations: 0.9375 kB / 1.288 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001118/1.823, allocations: 0 / 1.288 GB, free: 1.977 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.007113/1.83, allocations: 1.737 MB / 1.29 GB, free: 17.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/1.83, allocations: 11.03 kB / 1.29 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000585/1.831, allocations: 176.3 kB / 1.29 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/1.834, allocations: 371.8 kB / 1.29 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/1.837, allocations: 0.888 MB / 1.291 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.837, allocations: 76.97 kB / 1.291 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/1.838, allocations: 104.7 kB / 1.291 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/1.842, allocations: 1.537 MB / 1.293 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/1.842, allocations: 14.36 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/1.843, allocations: 43.88 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/1.843, allocations: 62.77 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/1.846, allocations: 1.022 MB / 1.294 GB, free: 16.27 MB / 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.01289/1.859, allocations: 5.956 MB / 1.3 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/1.86, allocations: 322.5 kB / 1.3 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/1.86, allocations: 249.8 kB / 1.3 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.861, allocations: 0.7055 MB / 1.301 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/1.861, allocations: 44.83 kB / 1.301 GB, free: 11.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 4.859e-06/1.861, allocations: 1.031 kB / 1.301 GB, free: 11.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.002471/1.864, allocations: 0.6803 MB / 1.302 GB, free: 11.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.864, allocations: 133 kB / 1.302 GB, free: 11.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.868, allocations: 1.681 MB / 1.303 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.868, allocations: 35.67 kB / 1.303 GB, free: 11.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/1.869, allocations: 0.5548 MB / 1.304 GB, free: 11.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/1.869, allocations: 96.77 kB / 1.304 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/1.87, allocations: 67.98 kB / 1.304 GB, free: 11.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.87, allocations: 318 kB / 1.304 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/1.87, allocations: 158.5 kB / 1.305 GB, free: 10.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/1.871, allocations: 275.7 kB / 1.305 GB, free: 10.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/1.872, allocations: 403.2 kB / 1.305 GB, free: 10.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.872, allocations: 2.125 kB / 1.305 GB, free: 10.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001523/1.873, allocations: 0.5499 MB / 1.306 GB, free: 10.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.873, allocations: 8.703 kB / 1.306 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.873, allocations: 4.031 kB / 1.306 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/1.873, allocations: 6.844 kB / 1.306 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/1.874, allocations: 53.25 kB / 1.306 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/1.874, allocations: 3.594 kB / 1.306 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.875, allocations: 113.5 kB / 1.306 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/1.875, allocations: 24.44 kB / 1.306 GB, free: 10.57 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.0008218/1.876, allocations: 378.8 kB / 1.306 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.877, allocations: 138 kB / 1.306 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/1.882, allocations: 381.8 kB / 1.307 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/1.882, allocations: 2.812 kB / 1.307 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.882, allocations: 2.844 kB / 1.307 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.882, allocations: 3.328 kB / 1.307 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007247/1.889, allocations: 2.616 MB / 1.309 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.889, allocations: 12.73 kB / 1.309 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004388/1.893, allocations: 49.52 kB / 1.309 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/1.894, allocations: 9.5 kB / 1.309 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/1.894, allocations: 15.59 kB / 1.309 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/1.894, allocations: 12.39 kB / 1.309 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.894, allocations: 8.688 kB / 1.31 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/1.895, allocations: 0.6203 MB / 1.31 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/1.896, allocations: 291.5 kB / 1.31 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005852/1.897, allocations: 20 kB / 1.31 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.898, allocations: 19.44 kB / 1.31 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.898, allocations: 39.77 kB / 1.31 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/1.898, allocations: 23.39 kB / 1.31 GB, free: 8.785 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003035/1.901, allocations: 1.224 MB / 1.312 GB, free: 8.676 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/1.901, allocations: 4.312 kB / 1.312 GB, free: 8.676 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006518/1.908, allocations: 336 kB / 1.312 GB, free: 8.641 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.005497/1.913, allocations: 1.679 MB / 1.314 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.914, allocations: 358 kB / 1.314 GB, free: 7.668 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.914, allocations: 2.656 kB / 1.314 GB, free: 7.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/1.915, allocations: 159.9 kB / 1.314 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007621/1.922, allocations: 0.9303 MB / 1.315 GB, free: 7.496 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/1.954, allocations: 11.77 MB / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.956, allocations: 1.205 MB / 1.328 GB, free: 2.402 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001982/1.958, allocations: 304.6 kB / 1.328 GB, free: 2.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009334/1.959, allocations: 470 kB / 1.328 GB, free: 2.328 MB / 1.014 GB Notification: Performance of SimCode: time 2.425e-06/1.959, allocations: 0 / 1.328 GB, free: 2.328 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.695/5.653, allocations: 42.89 MB / 1.37 GB, free: 13.47 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003764/5.654, allocations: 249.4 kB / 1.371 GB, free: 13.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.452/12.11, allocations: 0 / 1.371 GB, free: 13.21 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches