Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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.001471/0.001471, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001632/0.001632, allocations: 213.3 kB / 22.24 MB, free: 4.855 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.307/1.307, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 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 2.951/2.951, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",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.00217/0.00217, allocations: 74.95 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2583/0.5766, allocations: 225.4 MB / 1.584 GB, free: 11.86 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.0253/0.6019, allocations: 19.06 MB / 1.602 GB, free: 8.746 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.6041, allocations: 106.9 kB / 1.602 GB, free: 8.641 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.6061, allocations: 0.8649 MB / 1.603 GB, free: 7.77 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.006864/0.6129, allocations: 2.971 MB / 1.606 GB, free: 4.785 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.006306/0.6192, allocations: 2.812 MB / 1.609 GB, free: 1.98 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.6393/1.259, allocations: 3.847 MB / 1.612 GB, free: 7.113 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/1.26, allocations: 0.896 MB / 1.613 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/1.27, allocations: 5.081 MB / 1.618 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/1.273, allocations: 1.003 MB / 1.619 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003/1.273, allocations: 108.8 kB / 1.619 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006257/1.279, allocations: 2.896 MB / 1.622 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.000791/1.28, allocations: 0.6674 MB / 1.623 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/1.281, allocations: 0.7736 MB / 1.624 GB, free: 7.039 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007605/1.289, allocations: 4.1 MB / 1.628 GB, free: 6.816 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.289, allocations: 2.188 kB / 1.628 GB, free: 6.816 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.914e-06/1.289, allocations: 0 / 1.628 GB, free: 6.816 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.506e-05/1.289, allocations: 0.9375 kB / 1.628 GB, free: 6.816 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003673/1.293, allocations: 2.285 MB / 1.63 GB, free: 5.672 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.293, allocations: 9.688 kB / 1.63 GB, free: 5.672 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/1.293, allocations: 188.2 kB / 1.63 GB, free: 5.629 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.295, allocations: 499.2 kB / 1.631 GB, free: 5.512 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.297, allocations: 1.308 MB / 1.632 GB, free: 5.125 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/1.297, allocations: 94.44 kB / 1.632 GB, free: 5.121 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.298, allocations: 126.8 kB / 1.632 GB, free: 5.121 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/1.3, allocations: 1.718 MB / 1.634 GB, free: 4.754 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.3, allocations: 5.156 kB / 1.634 GB, free: 4.754 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/1.3, allocations: 51.45 kB / 1.634 GB, free: 4.754 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.776e-05/1.3, allocations: 66.64 kB / 1.634 GB, free: 4.754 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.302, allocations: 1.219 MB / 1.635 GB, free: 4.746 MB / 1.295 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.006621/1.308, allocations: 6.369 MB / 1.641 GB, free: 17.29 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/1.309, allocations: 0.6344 MB / 1.642 GB, free: 17.05 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/1.31, allocations: 0.5859 MB / 1.642 GB, free: 16.98 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/1.31, allocations: 227.6 kB / 1.643 GB, free: 16.98 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.31, allocations: 56.52 kB / 1.643 GB, free: 16.94 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/1.31, allocations: 1.219 kB / 1.643 GB, free: 16.94 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002236/1.313, allocations: 1.41 MB / 1.644 GB, free: 16.79 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.313, allocations: 300 kB / 1.644 GB, free: 16.45 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/1.315, allocations: 1.886 MB / 1.646 GB, free: 16.23 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/1.315, allocations: 42.2 kB / 1.646 GB, free: 16.2 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/1.316, allocations: 0.7278 MB / 1.647 GB, free: 16.08 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/1.316, allocations: 262.2 kB / 1.647 GB, free: 15.91 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/1.316, allocations: 131.9 kB / 1.647 GB, free: 15.89 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.317, allocations: 326.7 kB / 1.648 GB, free: 15.59 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/1.317, allocations: 330.2 kB / 1.648 GB, free: 15.59 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/1.318, allocations: 0.9984 MB / 1.649 GB, free: 14.93 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/1.319, allocations: 0.8569 MB / 1.65 GB, free: 14.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.319, allocations: 1.938 kB / 1.65 GB, free: 14.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001264/1.32, allocations: 1.019 MB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.32, allocations: 6.75 kB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.32, allocations: 6.172 kB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.32, allocations: 6.906 kB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.32, allocations: 127.7 kB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.32, allocations: 10.09 kB / 1.651 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/1.321, allocations: 130 kB / 1.651 GB, free: 14.57 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/1.321, allocations: 44.25 kB / 1.651 GB, free: 14.57 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005688/1.322, allocations: 465.6 kB / 1.652 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/1.322, allocations: 201.2 kB / 1.652 GB, free: 14.34 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.324, allocations: 1.092 MB / 1.653 GB, free: 14.28 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/1.324, allocations: 14.03 kB / 1.653 GB, free: 14.27 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.324, allocations: 4.75 kB / 1.653 GB, free: 14.27 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.324, allocations: 5.891 kB / 1.653 GB, free: 14.27 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009907/1.334, allocations: 7.698 MB / 1.66 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.334, allocations: 17.47 kB / 1.66 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/1.334, allocations: 143.1 kB / 1.66 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/1.334, allocations: 23.12 kB / 1.66 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/1.334, allocations: 38.84 kB / 1.661 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/1.334, allocations: 29.27 kB / 1.661 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/1.334, allocations: 23.09 kB / 1.661 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.336, allocations: 1.702 MB / 1.662 GB, free: 11.84 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/1.337, allocations: 345.2 kB / 1.663 GB, free: 11.71 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/1.337, allocations: 36.03 kB / 1.663 GB, free: 11.71 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/1.337, allocations: 25.66 kB / 1.663 GB, free: 11.71 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.338, allocations: 105 kB / 1.663 GB, free: 11.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/1.338, allocations: 56.36 kB / 1.663 GB, free: 11.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001448/1.339, allocations: 1.319 MB / 1.664 GB, free: 11.56 MB / 1.311 GB Notification: Performance of sort global known variables: time 7.1e-08/1.339, allocations: 0 / 1.664 GB, free: 11.56 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001909/1.341, allocations: 0.5161 MB / 1.665 GB, free: 11.49 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003866/1.345, allocations: 3.011 MB / 1.668 GB, free: 10.02 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.346, allocations: 0.8382 MB / 1.668 GB, free: 10.02 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.346, allocations: 0.8125 kB / 1.668 GB, free: 10.02 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004967/1.346, allocations: 480.6 kB / 1.669 GB, free: 10.02 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/1.352, allocations: 1.336 MB / 1.67 GB, free: 9.832 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.368, allocations: 13.93 MB / 1.684 GB, free: 5.797 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/1.369, allocations: 0.8197 MB / 1.684 GB, free: 5.664 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001536/1.371, allocations: 491.2 kB / 1.685 GB, free: 5.594 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/1.371, allocations: 0.6591 MB / 1.686 GB, free: 5.586 MB / 1.311 GB Notification: Performance of SimCode: time 1.282e-06/1.371, allocations: 0.8438 kB / 1.686 GB, free: 5.586 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.477, allocations: 64.62 MB / 1.749 GB, free: 13.16 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.14, allocations: 2.5 kB / 1.749 GB, free: 13.16 MB / 1.342 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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: 20.333669944200665]