Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007572/0.0007572, allocations: 170.3 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8499/0.8499, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.639/1.639, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.995e-05, allocations: 10.22 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.586/0.5861, allocations: 189.5 MB / 1.166 GB, free: 1.082 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5985, allocations: 11.23 MB / 1.177 GB, free: 9.41 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.6003, allocations: 59.97 kB / 1.177 GB, free: 9.375 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6017, allocations: 0.5272 MB / 1.178 GB, free: 9.012 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.6069, allocations: 1.948 MB / 1.179 GB, free: 7.953 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.6118, allocations: 2.044 MB / 1.181 GB, free: 6.926 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.6155, allocations: 2.362 MB / 1.184 GB, free: 5.777 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.617, allocations: 0.8309 MB / 1.185 GB, free: 5.375 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/0.624, allocations: 3.475 MB / 1.188 GB, free: 3.879 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.6253, allocations: 0.5932 MB / 1.189 GB, free: 3.672 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.6255, allocations: 89.47 kB / 1.189 GB, free: 3.672 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.63, allocations: 2.085 MB / 1.191 GB, free: 2.883 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.6307, allocations: 0.5672 MB / 1.191 GB, free: 2.633 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008326/0.6315, allocations: 492.8 kB / 1.192 GB, free: 2.441 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005709/0.6372, allocations: 3.183 MB / 1.195 GB, free: 1.387 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6372, allocations: 0 / 1.195 GB, free: 1.387 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6372, allocations: 0 / 1.195 GB, free: 1.387 MB / 1.026 GB Notification: Performance of Transformations before backend: time 4.999e-05/0.6373, allocations: 1.5 kB / 1.195 GB, free: 1.387 MB / 1.026 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.003032/0.6403, allocations: 1.683 MB / 1.196 GB, free: 264 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.6403, allocations: 10.09 kB / 1.196 GB, free: 264 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.6405, allocations: 164.2 kB / 1.197 GB, free: 156 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6417, allocations: 381.5 kB / 1.197 GB, free: 36 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.6431, allocations: 0.8861 MB / 1.198 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.6431, allocations: 76.34 kB / 1.198 GB, free: 15.49 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6432, allocations: 106.8 kB / 1.198 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.645, allocations: 1.962 MB / 1.2 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.645, allocations: 10.5 kB / 1.2 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.6451, allocations: 44.09 kB / 1.2 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/0.6451, allocations: 58.16 kB / 1.2 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6462, allocations: 1.014 MB / 1.201 GB, free: 13.75 MB / 1.042 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.004841/0.651, allocations: 4.89 MB / 1.206 GB, free: 9.793 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.6515, allocations: 308.4 kB / 1.206 GB, free: 9.582 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.6517, allocations: 239.1 kB / 1.206 GB, free: 9.445 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.652, allocations: 115.5 kB / 1.206 GB, free: 9.406 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.652, allocations: 41.58 kB / 1.206 GB, free: 9.359 MB / 1.042 GB Notification: Performance of pre-optimization done (n=28): time 2.285e-06/0.652, allocations: 0 / 1.206 GB, free: 9.359 MB / 1.042 GB Notification: Performance of matching and sorting (n=28): time 0.0009471/0.653, allocations: 0.6772 MB / 1.207 GB, free: 9.012 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.653, allocations: 134.2 kB / 1.207 GB, free: 8.855 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6544, allocations: 1.659 MB / 1.209 GB, free: 7.988 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.6545, allocations: 32.23 kB / 1.209 GB, free: 7.953 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.6548, allocations: 0.5529 MB / 1.209 GB, free: 7.469 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.6549, allocations: 102.6 kB / 1.21 GB, free: 7.379 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.655, allocations: 74.25 kB / 1.21 GB, free: 7.332 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.6551, allocations: 316.6 kB / 1.21 GB, free: 7.02 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6552, allocations: 159.5 kB / 1.21 GB, free: 6.945 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.6555, allocations: 445.9 kB / 1.211 GB, free: 6.555 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.6558, allocations: 427.8 kB / 1.211 GB, free: 6.281 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6558, allocations: 7.531 kB / 1.211 GB, free: 6.277 MB / 1.042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005728/0.6564, allocations: 0.5684 MB / 1.211 GB, free: 5.973 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6564, allocations: 9.375 kB / 1.211 GB, free: 5.969 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.6564, allocations: 9 kB / 1.211 GB, free: 5.965 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6564, allocations: 3.188 kB / 1.212 GB, free: 5.965 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.6566, allocations: 56.92 kB / 1.212 GB, free: 5.953 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6566, allocations: 9.391 kB / 1.212 GB, free: 5.949 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.6571, allocations: 110.9 kB / 1.212 GB, free: 5.867 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.6572, allocations: 22.58 kB / 1.212 GB, free: 5.863 MB / 1.042 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.0004072/0.6576, allocations: 376.3 kB / 1.212 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6577, allocations: 143.2 kB / 1.212 GB, free: 5.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.6582, allocations: 384.1 kB / 1.213 GB, free: 5.281 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6582, allocations: 5.188 kB / 1.213 GB, free: 5.281 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6582, allocations: 3.938 kB / 1.213 GB, free: 5.277 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6582, allocations: 6.016 kB / 1.213 GB, free: 5.273 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.6606, allocations: 2.237 MB / 1.215 GB, free: 3.672 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6606, allocations: 5.25 kB / 1.215 GB, free: 3.672 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.6607, allocations: 54 kB / 1.215 GB, free: 3.656 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6607, allocations: 7.562 kB / 1.215 GB, free: 3.656 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.6607, allocations: 19.12 kB / 1.215 GB, free: 3.648 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6607, allocations: 9.188 kB / 1.215 GB, free: 3.645 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6607, allocations: 11.84 kB / 1.215 GB, free: 3.641 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.6612, allocations: 0.6143 MB / 1.215 GB, free: 3.145 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.6615, allocations: 229 kB / 1.216 GB, free: 3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.6616, allocations: 11.97 kB / 1.216 GB, free: 2.996 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.6618, allocations: 20.22 kB / 1.216 GB, free: 2.984 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.6619, allocations: 37.23 kB / 1.216 GB, free: 2.961 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.6619, allocations: 13.41 kB / 1.216 GB, free: 2.961 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001029/0.6629, allocations: 1.211 MB / 1.217 GB, free: 2.312 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6629, allocations: 0 / 1.217 GB, free: 2.312 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0009981/0.6639, allocations: 334.6 kB / 1.217 GB, free: 2.25 MB / 1.042 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.001622/0.6655, allocations: 1.657 MB / 1.219 GB, free: 1.004 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.666, allocations: 357.1 kB / 1.219 GB, free: 0.8359 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.666, allocations: 3 kB / 1.219 GB, free: 0.8359 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6661, allocations: 161 kB / 1.219 GB, free: 0.7578 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.6681, allocations: 0.9195 MB / 1.22 GB, free: 304 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.6783, allocations: 10.47 MB / 1.23 GB, free: 9.637 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.6787, allocations: 0.6047 MB / 1.231 GB, free: 9 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0008017/0.6795, allocations: 302.6 kB / 1.231 GB, free: 8.699 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.6799, allocations: 464.3 kB / 1.232 GB, free: 8.242 MB / 1.057 GB Notification: Performance of SimCode: time 2.335e-06/0.6799, allocations: 0 / 1.232 GB, free: 8.242 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.7405, allocations: 47.88 MB / 1.279 GB, free: 9.23 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/8.319, allocations: 3.938 kB / 1.279 GB, free: 9.227 MB / 1.104 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.229361438192427]