Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001279/0.001279, allocations: 116 kB / 17.16 MB, free: 5.863 MB / 14.72 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.001415/0.001415, allocations: 209.5 kB / 20.13 MB, free: 2.922 MB / 14.72 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 1.399/1.399, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.771/2.771, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9511/0.9529, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2757/1.229, allocations: 217.9 MB / 1.534 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01921/1.248, allocations: 12.21 MB / 1.546 GB, free: 3.137 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.25, allocations: 63.38 kB / 1.546 GB, free: 3.074 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/1.252, allocations: 0.5235 MB / 1.547 GB, free: 2.547 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/1.257, allocations: 1.966 MB / 1.549 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005154/1.262, allocations: 1.933 MB / 1.551 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003667/1.266, allocations: 2.34 MB / 1.553 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/1.268, allocations: 1.014 MB / 1.554 GB, free: 11.26 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007209/1.275, allocations: 3.096 MB / 1.557 GB, free: 8.152 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1.276, allocations: 0.6962 MB / 1.558 GB, free: 7.453 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/1.277, allocations: 96 kB / 1.558 GB, free: 7.359 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005661/1.282, allocations: 2.621 MB / 1.56 GB, free: 4.734 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/1.284, allocations: 0.5492 MB / 1.561 GB, free: 4.184 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/1.285, allocations: 0.7387 MB / 1.561 GB, free: 3.441 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006665/1.292, allocations: 3.119 MB / 1.564 GB, free: 320 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.292, allocations: 4 kB / 1.564 GB, free: 316 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.944e-06/1.292, allocations: 0 / 1.564 GB, free: 316 kB / 1.232 GB Notification: Performance of Transformations before backend: time 5.928e-05/1.292, allocations: 0 / 1.564 GB, free: 316 kB / 1.232 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.00353/1.295, allocations: 1.8 MB / 1.566 GB, free: 14.45 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.295, allocations: 11.98 kB / 1.566 GB, free: 14.43 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.721e-05/1.296, allocations: 34.06 kB / 1.566 GB, free: 14.4 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003061/1.296, allocations: 164.7 kB / 1.566 GB, free: 14.23 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/1.298, allocations: 386.7 kB / 1.567 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/1.3, allocations: 0.9628 MB / 1.568 GB, free: 12.84 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/1.3, allocations: 82.06 kB / 1.568 GB, free: 12.76 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/1.3, allocations: 100 kB / 1.568 GB, free: 12.66 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/1.303, allocations: 1.525 MB / 1.569 GB, free: 11.03 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/1.303, allocations: 7.875 kB / 1.569 GB, free: 11.02 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.303, allocations: 55.92 kB / 1.569 GB, free: 10.97 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/1.303, allocations: 65.53 kB / 1.57 GB, free: 10.9 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/1.305, allocations: 1.017 MB / 1.571 GB, free: 9.887 MB / 1.248 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.007679/1.312, allocations: 5.862 MB / 1.576 GB, free: 3.715 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/1.313, allocations: 310.1 kB / 1.577 GB, free: 3.375 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/1.313, allocations: 239.7 kB / 1.577 GB, free: 3.129 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008667/1.314, allocations: 0.7117 MB / 1.577 GB, free: 2.27 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/1.314, allocations: 46.55 kB / 1.578 GB, free: 2.215 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.494e-06/1.314, allocations: 0 / 1.578 GB, free: 2.215 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001632/1.316, allocations: 0.676 MB / 1.578 GB, free: 1.531 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/1.316, allocations: 144.4 kB / 1.578 GB, free: 1.359 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/1.319, allocations: 1.678 MB / 1.58 GB, free: 15.67 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/1.319, allocations: 33.83 kB / 1.58 GB, free: 15.63 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/1.319, allocations: 0.5584 MB / 1.581 GB, free: 15.07 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/1.319, allocations: 111 kB / 1.581 GB, free: 14.96 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.319, allocations: 61.7 kB / 1.581 GB, free: 14.89 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.32, allocations: 314 kB / 1.581 GB, free: 14.58 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/1.32, allocations: 159.9 kB / 1.581 GB, free: 14.43 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/1.32, allocations: 265.7 kB / 1.581 GB, free: 14.14 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/1.321, allocations: 416.9 kB / 1.582 GB, free: 13.7 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.321, allocations: 0 / 1.582 GB, free: 13.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009389/1.322, allocations: 0.551 MB / 1.582 GB, free: 13.14 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.322, allocations: 5.719 kB / 1.582 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.322, allocations: 4 kB / 1.582 GB, free: 13.13 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.322, allocations: 8.172 kB / 1.582 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/1.322, allocations: 59.86 kB / 1.582 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.322, allocations: 4 kB / 1.582 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/1.323, allocations: 111 kB / 1.583 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/1.323, allocations: 16 kB / 1.583 GB, free: 12.94 MB / 1.264 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.0005626/1.323, allocations: 386.1 kB / 1.583 GB, free: 12.55 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/1.324, allocations: 143.1 kB / 1.583 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/1.324, allocations: 377 kB / 1.583 GB, free: 12.02 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.324, allocations: 7.938 kB / 1.583 GB, free: 12.01 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.324, allocations: 4 kB / 1.583 GB, free: 12.01 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.324, allocations: 3.984 kB / 1.583 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/1.328, allocations: 2.529 MB / 1.586 GB, free: 9.297 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.328, allocations: 7.938 kB / 1.586 GB, free: 9.289 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.329, allocations: 47.92 kB / 1.586 GB, free: 9.242 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.329, allocations: 8.062 kB / 1.586 GB, free: 9.234 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.329, allocations: 23.92 kB / 1.586 GB, free: 9.211 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.329, allocations: 11.94 kB / 1.586 GB, free: 9.199 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.329, allocations: 11.94 kB / 1.586 GB, free: 9.188 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/1.329, allocations: 0.6232 MB / 1.587 GB, free: 8.465 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/1.33, allocations: 296 kB / 1.587 GB, free: 8.156 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/1.33, allocations: 15.98 kB / 1.587 GB, free: 8.141 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/1.331, allocations: 16 kB / 1.587 GB, free: 8.125 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.331, allocations: 35.8 kB / 1.587 GB, free: 8.09 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/1.331, allocations: 16 kB / 1.587 GB, free: 8.074 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001779/1.333, allocations: 1.231 MB / 1.588 GB, free: 6.848 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/1.333, allocations: 4 kB / 1.588 GB, free: 6.844 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001147/1.334, allocations: 331.4 kB / 1.588 GB, free: 6.52 MB / 1.264 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.002655/1.336, allocations: 1.658 MB / 1.59 GB, free: 4.758 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006606/1.337, allocations: 343.6 kB / 1.59 GB, free: 4.422 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.337, allocations: 7.938 kB / 1.59 GB, free: 4.414 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/1.337, allocations: 160.5 kB / 1.591 GB, free: 4.258 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.341, allocations: 0.9173 MB / 1.591 GB, free: 3.367 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.358, allocations: 10.52 MB / 1.602 GB, free: 8.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.359, allocations: 1.212 MB / 1.603 GB, free: 7.258 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009986/1.36, allocations: 302.7 kB / 1.603 GB, free: 6.957 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/1.361, allocations: 459.3 kB / 1.604 GB, free: 6.508 MB / 1.279 GB Notification: Performance of SimCode: time 1.463e-06/1.361, allocations: 0 / 1.604 GB, free: 6.508 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08108/1.442, allocations: 44.25 MB / 1.647 GB, free: 10.69 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/12.27, allocations: 11.86 kB / 1.647 GB, free: 10.68 MB / 1.326 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.566712820029352]