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.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.001017/0.001017, 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.001018/0.001018, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8817/0.8817, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.659/1.659, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.263e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.581/0.581, allocations: 189.5 MB / 1.185 GB, free: 11.53 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.5941, allocations: 11.16 MB / 1.196 GB, free: 3.91 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.5961, allocations: 58.38 kB / 1.196 GB, free: 3.875 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.5976, allocations: 0.5366 MB / 1.196 GB, free: 3.504 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.6022, allocations: 1.926 MB / 1.198 GB, free: 2.457 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.6063, allocations: 2.015 MB / 1.2 GB, free: 1.445 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.6097, allocations: 2.252 MB / 1.202 GB, free: 352 kB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.6112, allocations: 0.7263 MB / 1.203 GB, free: 0 / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006087/0.6173, allocations: 3.423 MB / 1.206 GB, free: 14.53 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.6185, allocations: 0.5919 MB / 1.207 GB, free: 14.32 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.6187, allocations: 94.5 kB / 1.207 GB, free: 14.32 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.6229, allocations: 2.091 MB / 1.209 GB, free: 13.27 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.6234, allocations: 0.5658 MB / 1.21 GB, free: 12.91 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0006287/0.6241, allocations: 495.9 kB / 1.21 GB, free: 12.69 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.6289, allocations: 3.186 MB / 1.213 GB, free: 10.76 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6289, allocations: 0 / 1.213 GB, free: 10.76 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6289, allocations: 0 / 1.213 GB, free: 10.76 MB / 1.057 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.6289, allocations: 0 / 1.213 GB, free: 10.76 MB / 1.057 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.002174/0.6311, allocations: 1.676 MB / 1.215 GB, free: 9.496 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6311, allocations: 12.69 kB / 1.215 GB, free: 9.492 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.6313, allocations: 168.8 kB / 1.215 GB, free: 9.359 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6323, allocations: 383.5 kB / 1.215 GB, free: 9.172 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.6333, allocations: 0.873 MB / 1.216 GB, free: 8.539 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.6334, allocations: 75.34 kB / 1.216 GB, free: 8.504 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.6335, allocations: 108.5 kB / 1.216 GB, free: 8.465 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.6351, allocations: 1.983 MB / 1.218 GB, free: 6.914 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.6352, allocations: 3.938 kB / 1.218 GB, free: 6.91 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.6352, allocations: 45.31 kB / 1.218 GB, free: 6.879 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.6353, allocations: 61.16 kB / 1.218 GB, free: 6.867 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/0.6362, allocations: 1.023 MB / 1.219 GB, free: 6.375 MB / 1.057 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.003949/0.6401, allocations: 4.914 MB / 1.224 GB, free: 2.398 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.6405, allocations: 300.7 kB / 1.224 GB, free: 2.195 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.6407, allocations: 235.1 kB / 1.225 GB, free: 2.062 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.641, allocations: 114.7 kB / 1.225 GB, free: 2.023 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.641, allocations: 39.34 kB / 1.225 GB, free: 1.98 MB / 1.057 GB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/0.641, allocations: 0 / 1.225 GB, free: 1.98 MB / 1.057 GB Notification: Performance of matching and sorting (n=28): time 0.0008303/0.6418, allocations: 0.6817 MB / 1.225 GB, free: 1.625 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.6419, allocations: 133.7 kB / 1.226 GB, free: 1.469 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.6432, allocations: 1.663 MB / 1.227 GB, free: 0.6016 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.6432, allocations: 32.48 kB / 1.227 GB, free: 0.5664 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6435, allocations: 0.5504 MB / 1.228 GB, free: 84 kB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.6436, allocations: 108.2 kB / 1.228 GB, free: 15.98 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.6437, allocations: 62.81 kB / 1.228 GB, free: 15.95 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6439, allocations: 323.7 kB / 1.228 GB, free: 15.63 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.644, allocations: 159.6 kB / 1.228 GB, free: 15.55 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6443, allocations: 423.1 kB / 1.229 GB, free: 15.19 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.6446, allocations: 409.1 kB / 1.229 GB, free: 14.93 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6446, allocations: 0 / 1.229 GB, free: 14.93 MB / 1.073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004956/0.6451, allocations: 0.5417 MB / 1.23 GB, free: 14.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6451, allocations: 8.062 kB / 1.23 GB, free: 14.65 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6451, allocations: 4 kB / 1.23 GB, free: 14.64 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6451, allocations: 9.422 kB / 1.23 GB, free: 14.64 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.6452, allocations: 54.67 kB / 1.23 GB, free: 14.63 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.6452, allocations: 4.531 kB / 1.23 GB, free: 14.63 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.6456, allocations: 113.5 kB / 1.23 GB, free: 14.55 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.6457, allocations: 16.34 kB / 1.23 GB, free: 14.55 MB / 1.073 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.0003447/0.646, allocations: 386.9 kB / 1.23 GB, free: 14.27 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6461, allocations: 142.8 kB / 1.23 GB, free: 14.2 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.6465, allocations: 384.3 kB / 1.231 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.6465, allocations: 2.969 kB / 1.231 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6465, allocations: 6.234 kB / 1.231 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6465, allocations: 3.984 kB / 1.231 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.6487, allocations: 2.24 MB / 1.233 GB, free: 12.34 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6487, allocations: 6.125 kB / 1.233 GB, free: 12.34 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.6488, allocations: 50.02 kB / 1.233 GB, free: 12.33 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6488, allocations: 7.594 kB / 1.233 GB, free: 12.33 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.6488, allocations: 22.83 kB / 1.233 GB, free: 12.32 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6488, allocations: 12.16 kB / 1.233 GB, free: 12.31 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6488, allocations: 11.72 kB / 1.233 GB, free: 12.31 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.6493, allocations: 0.6027 MB / 1.234 GB, free: 11.62 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.6496, allocations: 230.9 kB / 1.234 GB, free: 11.4 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.6497, allocations: 15.95 kB / 1.234 GB, free: 11.38 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.6499, allocations: 19.94 kB / 1.234 GB, free: 11.36 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.6499, allocations: 35.84 kB / 1.234 GB, free: 11.33 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.6499, allocations: 19.98 kB / 1.234 GB, free: 11.31 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001039/0.651, allocations: 1.207 MB / 1.235 GB, free: 10.11 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.01e-07/0.651, allocations: 7.938 kB / 1.235 GB, free: 10.1 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0009328/0.6519, allocations: 327.4 kB / 1.235 GB, free: 9.777 MB / 1.073 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.001884/0.6538, allocations: 1.66 MB / 1.237 GB, free: 8.016 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.6544, allocations: 353.1 kB / 1.237 GB, free: 7.672 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6544, allocations: 0 / 1.237 GB, free: 7.672 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.6545, allocations: 161.5 kB / 1.238 GB, free: 7.516 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.657, allocations: 0.8811 MB / 1.238 GB, free: 6.664 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.6686, allocations: 10.51 MB / 1.249 GB, free: 11.81 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.669, allocations: 0.6067 MB / 1.249 GB, free: 11.17 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0007318/0.6697, allocations: 278.5 kB / 1.25 GB, free: 10.89 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.6701, allocations: 464.3 kB / 1.25 GB, free: 10.44 MB / 1.089 GB Notification: Performance of SimCode: time 1.222e-06/0.6701, allocations: 4 kB / 1.25 GB, free: 10.43 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05677/0.7269, allocations: 47.23 MB / 1.296 GB, free: 11.91 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/8.204, allocations: 6.438 kB / 1.296 GB, free: 11.91 MB / 1.135 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.190258421003819]