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.001322/0.001322, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001501/0.001501, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.427/1.427, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.806/2.806, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",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.001884/0.001884, allocations: 63.91 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.8804, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2872/1.168, allocations: 257.4 MB / 1.592 GB, free: 6.484 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02611/1.194, allocations: 20.73 MB / 1.612 GB, free: 1.699 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/1.196, allocations: 110.9 kB / 1.612 GB, free: 1.59 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/1.198, allocations: 0.8453 MB / 1.613 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.007693/1.206, allocations: 3.045 MB / 1.616 GB, free: 13.68 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.006378/1.212, allocations: 2.796 MB / 1.618 GB, free: 10.89 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005201/1.217, allocations: 3.804 MB / 1.622 GB, free: 7.074 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/1.219, allocations: 1.043 MB / 1.623 GB, free: 6.008 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009868/1.229, allocations: 4.931 MB / 1.628 GB, free: 1.066 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/1.23, allocations: 1.054 MB / 1.629 GB, free: 8 kB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/1.231, allocations: 108 kB / 1.629 GB, free: 15.9 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006999/1.238, allocations: 3.667 MB / 1.633 GB, free: 12.23 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.0008191/1.239, allocations: 0.658 MB / 1.633 GB, free: 11.57 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.24, allocations: 0.9756 MB / 1.634 GB, free: 10.59 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.007651/1.247, allocations: 4.17 MB / 1.638 GB, free: 6.402 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.247, allocations: 8 kB / 1.638 GB, free: 6.395 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.914e-06/1.247, allocations: 0 / 1.638 GB, free: 6.395 MB / 1.311 GB Notification: Performance of Transformations before backend: time 4.231e-05/1.248, allocations: 4 kB / 1.638 GB, free: 6.391 MB / 1.311 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.003457/1.251, allocations: 2.366 MB / 1.641 GB, free: 3.965 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.251, allocations: 12.03 kB / 1.641 GB, free: 3.953 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.786e-05/1.251, allocations: 34.42 kB / 1.641 GB, free: 3.918 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/1.251, allocations: 186 kB / 1.641 GB, free: 3.727 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/1.253, allocations: 0.4942 MB / 1.641 GB, free: 3.23 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/1.256, allocations: 1.389 MB / 1.643 GB, free: 1.789 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/1.256, allocations: 94.44 kB / 1.643 GB, free: 1.695 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/1.256, allocations: 124 kB / 1.643 GB, free: 1.574 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/1.258, allocations: 1.716 MB / 1.645 GB, free: 15.72 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.258, allocations: 7.938 kB / 1.645 GB, free: 15.71 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.258, allocations: 59.94 kB / 1.645 GB, free: 15.65 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.242e-05/1.258, allocations: 63.97 kB / 1.645 GB, free: 15.59 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/1.26, allocations: 1.219 MB / 1.646 GB, free: 14.37 MB / 1.326 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.007398/1.268, allocations: 7.543 MB / 1.653 GB, free: 6.438 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/1.269, allocations: 0.6304 MB / 1.654 GB, free: 5.715 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/1.269, allocations: 0.5952 MB / 1.654 GB, free: 5.09 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/1.271, allocations: 1.867 MB / 1.656 GB, free: 2.816 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.271, allocations: 50.5 kB / 1.656 GB, free: 2.758 MB / 1.326 GB Notification: Performance of pre-optimization done (n=72): time 2.285e-06/1.271, allocations: 3.938 kB / 1.656 GB, free: 2.754 MB / 1.326 GB Notification: Performance of matching and sorting (n=72): time 0.002382/1.273, allocations: 1.4 MB / 1.658 GB, free: 1.348 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/1.273, allocations: 302.7 kB / 1.658 GB, free: 0.9844 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.276, allocations: 1.884 MB / 1.66 GB, free: 15.06 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/1.276, allocations: 41.7 kB / 1.66 GB, free: 15.01 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/1.277, allocations: 0.7254 MB / 1.661 GB, free: 14.28 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.277, allocations: 261.7 kB / 1.661 GB, free: 14.02 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/1.277, allocations: 130.3 kB / 1.661 GB, free: 13.89 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.277, allocations: 337.9 kB / 1.661 GB, free: 13.55 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/1.277, allocations: 329.1 kB / 1.662 GB, free: 13.23 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/1.278, allocations: 0.5625 MB / 1.662 GB, free: 12.62 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.279, allocations: 0.8645 MB / 1.663 GB, free: 11.71 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.279, allocations: 0 / 1.663 GB, free: 11.71 MB / 1.342 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001472/1.281, allocations: 1.016 MB / 1.664 GB, free: 10.68 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.281, allocations: 8 kB / 1.664 GB, free: 10.68 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.281, allocations: 4.281 kB / 1.664 GB, free: 10.67 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.281, allocations: 8 kB / 1.664 GB, free: 10.66 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/1.281, allocations: 123.8 kB / 1.664 GB, free: 10.54 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.281, allocations: 12.12 kB / 1.664 GB, free: 10.53 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/1.282, allocations: 147.2 kB / 1.664 GB, free: 10.39 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/1.282, allocations: 39.98 kB / 1.664 GB, free: 10.35 MB / 1.342 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.0006017/1.283, allocations: 457.5 kB / 1.665 GB, free: 9.891 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/1.283, allocations: 202.7 kB / 1.665 GB, free: 9.691 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/1.285, allocations: 1.087 MB / 1.666 GB, free: 8.598 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.285, allocations: 12 kB / 1.666 GB, free: 8.586 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.285, allocations: 7.984 kB / 1.666 GB, free: 8.578 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.285, allocations: 7.938 kB / 1.666 GB, free: 8.57 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.297, allocations: 8.75 MB / 1.675 GB, free: 15.32 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/1.297, allocations: 16.22 kB / 1.675 GB, free: 15.3 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/1.297, allocations: 147.7 kB / 1.675 GB, free: 15.16 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.429e-05/1.297, allocations: 23.94 kB / 1.675 GB, free: 15.13 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/1.297, allocations: 43.98 kB / 1.675 GB, free: 15.09 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/1.297, allocations: 23.94 kB / 1.675 GB, free: 15.07 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/1.297, allocations: 23.88 kB / 1.675 GB, free: 15.04 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/1.299, allocations: 1.685 MB / 1.676 GB, free: 13.14 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/1.3, allocations: 427.5 kB / 1.677 GB, free: 12.7 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.3, allocations: 39.92 kB / 1.677 GB, free: 12.66 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/1.301, allocations: 28 kB / 1.677 GB, free: 12.64 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/1.301, allocations: 103.5 kB / 1.677 GB, free: 12.54 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/1.301, allocations: 55.98 kB / 1.677 GB, free: 12.48 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001772/1.303, allocations: 1.316 MB / 1.678 GB, free: 11.14 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.01e-07/1.303, allocations: 3.938 kB / 1.678 GB, free: 11.14 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.001688/1.305, allocations: 0.5184 MB / 1.679 GB, free: 10.62 MB / 1.357 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.004164/1.309, allocations: 2.991 MB / 1.682 GB, free: 7.398 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.31, allocations: 0.8378 MB / 1.683 GB, free: 6.559 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.31, allocations: 4 kB / 1.683 GB, free: 6.555 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.0006388/1.311, allocations: 475.3 kB / 1.683 GB, free: 6.094 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/1.317, allocations: 1.337 MB / 1.684 GB, free: 4.797 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.336, allocations: 13.93 MB / 1.698 GB, free: 6.18 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.337, allocations: 1.406 MB / 1.699 GB, free: 4.746 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.001533/1.339, allocations: 490.5 kB / 1.7 GB, free: 4.262 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008618/1.34, allocations: 0.6555 MB / 1.7 GB, free: 3.605 MB / 1.373 GB Notification: Performance of SimCode: time 8.61e-07/1.34, allocations: 0 / 1.7 GB, free: 3.605 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.444, allocations: 60.34 MB / 1.759 GB, free: 7.738 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/13.24, allocations: 9.625 kB / 1.759 GB, free: 7.73 MB / 1.436 GB " [Timeout remaining time 287] (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: 19.837127696024254]