Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 76.02 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7335, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002071/0.7356, allocations: 1.611 MB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.7366, allocations: 0.9169 MB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.7367, allocations: 2.281 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.7369, allocations: 64.45 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.7372, allocations: 144.7 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.757e-05/0.7373, allocations: 8.438 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.7376, allocations: 371.2 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.7376, allocations: 11.78 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.7378, allocations: 146.9 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.738, allocations: 138.2 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.738, allocations: 14.44 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.69e-05/0.7381, allocations: 15.22 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.7381, allocations: 51.72 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.7382, allocations: 134.6 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.7385, allocations: 301.1 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7385, allocations: 0 / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7385, allocations: 0.75 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7385, allocations: 0 / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008261/0.7393, allocations: 0.6266 MB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.7394, allocations: 10.16 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.7394, allocations: 35.97 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.7394, allocations: 34.34 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.7398, allocations: 396.2 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.7398, allocations: 384 / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.7398, allocations: 2.438 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.7399, allocations: 107.9 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.74, allocations: 0.75 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.74, allocations: 4.844 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.74, allocations: 0.7812 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.7401, allocations: 67.44 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.7403, allocations: 353 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.153e-05/0.7404, allocations: 100.8 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.7405, allocations: 62.91 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.7405, allocations: 13.58 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.7405, allocations: 37.75 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.7405, allocations: 0.8438 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002836/0.7408, allocations: 184.4 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.7408, allocations: 131 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.7413, allocations: 0.5166 MB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.7414, allocations: 26.61 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.7414, allocations: 163.8 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.7414, allocations: 15.64 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.7415, allocations: 26.83 kB / 1.278 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.7415, allocations: 340.3 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.7416, allocations: 35.09 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.7416, allocations: 60.23 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.7418, allocations: 108.6 kB / 1.278 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7418, allocations: 0 / 1.278 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000178/0.7419, allocations: 154 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7419, allocations: 6.859 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.742, allocations: 1.812 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.742, allocations: 0.9375 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.7421, allocations: 11.22 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7421, allocations: 0.8438 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.7422, allocations: 10.72 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.7422, allocations: 4.203 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001065/0.7423, allocations: 179.1 kB / 1.279 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.7424, allocations: 43.16 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.7426, allocations: 181.2 kB / 1.279 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7426, allocations: 1.906 kB / 1.279 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7426, allocations: 5.688 kB / 1.279 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7426, allocations: 1.75 kB / 1.279 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.7429, allocations: 315 kB / 1.279 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7429, allocations: 1.938 kB / 1.279 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.7429, allocations: 26.19 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7429, allocations: 2.344 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.7429, allocations: 0.9375 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.743, allocations: 2.578 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.743, allocations: 0.9375 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.7432, allocations: 194.3 kB / 1.28 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7433, allocations: 137 kB / 1.28 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.7433, allocations: 6.438 kB / 1.28 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.7434, allocations: 14.27 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.7435, allocations: 5.344 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.7435, allocations: 2.781 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004237/0.7439, allocations: 397.2 kB / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7439, allocations: 0 / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002545/0.7442, allocations: 37.62 kB / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0003306/0.7445, allocations: 0.7365 MB / 1.281 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.7447, allocations: 87.36 kB / 1.281 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7447, allocations: 0 / 1.281 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.042e-05/0.7447, allocations: 46.72 kB / 1.281 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.7451, allocations: 72.3 kB / 1.281 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.7482, allocations: 3.18 MB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.7486, allocations: 0.8203 MB / 1.285 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.7487, allocations: 51.14 kB / 1.285 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7488, allocations: 83.19 kB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of SimCode: time 4.2e-07/0.7488, allocations: 0 / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.7779, allocations: 6.645 MB / 1.292 GB, free: 13.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.982, allocations: 5.766 kB / 1.292 GB, free: 13.7 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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: 13.242600739999943]