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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001638/0.001638, 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.00186/0.00186, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 66.52 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2465, allocations: 157.4 MB / 1.052 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6596/0.9061, allocations: 212.5 MB / 1.26 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.9173, allocations: 12.27 MB / 1.272 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.9184, allocations: 53.72 kB / 1.272 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009608/0.9194, allocations: 407.5 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.9229, allocations: 1.759 MB / 1.274 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.9264, allocations: 1.744 MB / 1.276 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.9296, allocations: 3.039 MB / 1.278 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.9308, allocations: 1.053 MB / 1.28 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.9319, allocations: 0.7198 MB / 1.28 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009455/0.9329, allocations: 0.7079 MB / 1.281 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.933, allocations: 48.44 kB / 1.281 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005964/0.939, allocations: 3.529 MB / 1.284 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.9395, allocations: 0.5039 MB / 1.285 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.9402, allocations: 0.6773 MB / 1.286 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.9441, allocations: 3.365 MB / 1.289 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9441, allocations: 0 / 1.289 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9441, allocations: 0 / 1.289 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.9441, allocations: 0 / 1.289 GB, free: 1.625 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.001899/0.946, allocations: 1.736 MB / 1.291 GB, free: 16.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.9461, allocations: 10.56 kB / 1.291 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.9463, allocations: 172.9 kB / 1.291 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.9478, allocations: 376.4 kB / 1.291 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.9489, allocations: 0.8941 MB / 1.292 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.9489, allocations: 76.19 kB / 1.292 GB, free: 16.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.949, allocations: 104.6 kB / 1.292 GB, free: 16.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.9508, allocations: 1.538 MB / 1.294 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.9509, allocations: 8.391 kB / 1.294 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.951, allocations: 44.25 kB / 1.294 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/0.951, allocations: 62.12 kB / 1.294 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.9523, allocations: 1.022 MB / 1.295 GB, free: 15.9 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.005191/0.9575, allocations: 5.953 MB / 1.301 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.958, allocations: 316.3 kB / 1.301 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.9582, allocations: 250.5 kB / 1.301 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.9589, allocations: 0.7097 MB / 1.302 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.9589, allocations: 37.88 kB / 1.302 GB, free: 11.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.9589, allocations: 0 / 1.302 GB, free: 11.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001126/0.96, allocations: 0.6855 MB / 1.302 GB, free: 11.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.9601, allocations: 135.8 kB / 1.303 GB, free: 11.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.9618, allocations: 1.679 MB / 1.304 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.9619, allocations: 35.2 kB / 1.304 GB, free: 11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.9623, allocations: 0.5575 MB / 1.305 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.9623, allocations: 96.19 kB / 1.305 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.9624, allocations: 68.53 kB / 1.305 GB, free: 10.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.9625, allocations: 320.3 kB / 1.305 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.9627, allocations: 162.2 kB / 1.305 GB, free: 10.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.963, allocations: 264.7 kB / 1.306 GB, free: 10.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.9634, allocations: 410.4 kB / 1.306 GB, free: 10.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9634, allocations: 1.031 kB / 1.306 GB, free: 10.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006236/0.964, allocations: 0.5508 MB / 1.307 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.964, allocations: 5.969 kB / 1.307 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9641, allocations: 2.906 kB / 1.307 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9641, allocations: 9.375 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.9643, allocations: 50.55 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9643, allocations: 5.125 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.9648, allocations: 111.8 kB / 1.307 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.9648, allocations: 22.09 kB / 1.307 GB, free: 10.15 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.0003441/0.9652, allocations: 381.9 kB / 1.307 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.9654, allocations: 137.5 kB / 1.307 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.9659, allocations: 387.4 kB / 1.308 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9659, allocations: 7.594 kB / 1.308 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9659, allocations: 0 / 1.308 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.9659, allocations: 1.781 kB / 1.308 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.969, allocations: 2.614 MB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.969, allocations: 5.5 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.9692, allocations: 50.45 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.9692, allocations: 8.25 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.9692, allocations: 11.88 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.9692, allocations: 11.39 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9693, allocations: 9.781 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.9698, allocations: 0.6263 MB / 1.311 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.9702, allocations: 295.3 kB / 1.311 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.9704, allocations: 11.88 kB / 1.311 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.9708, allocations: 28.78 kB / 1.311 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.9708, allocations: 38.03 kB / 1.311 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.9709, allocations: 23.41 kB / 1.311 GB, free: 8.309 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001153/0.972, allocations: 1.225 MB / 1.313 GB, free: 8.199 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.972, allocations: 0 / 1.313 GB, free: 8.199 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009262/0.973, allocations: 333.8 kB / 1.313 GB, free: 8.168 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.002119/0.9751, allocations: 1.666 MB / 1.314 GB, free: 7.191 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.9755, allocations: 345.3 kB / 1.315 GB, free: 7.188 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9755, allocations: 3.938 kB / 1.315 GB, free: 7.184 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.9757, allocations: 158.3 kB / 1.315 GB, free: 7.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.9792, allocations: 0.8829 MB / 1.316 GB, free: 7.098 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.992, allocations: 11.78 MB / 1.327 GB, free: 2.703 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.9927, allocations: 1.215 MB / 1.329 GB, free: 1.988 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007992/0.9935, allocations: 295.7 kB / 1.329 GB, free: 1.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.9939, allocations: 461.1 kB / 1.329 GB, free: 1.922 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/0.9939, allocations: 0 / 1.329 GB, free: 1.922 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5844/1.578, allocations: 41.97 MB / 1.37 GB, free: 12.14 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.579, allocations: 246.9 kB / 1.37 GB, free: 11.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/4.131, allocations: 64 / 1.37 GB, free: 11.89 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