Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 106.6 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.088, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002971/1.091, allocations: 1.585 MB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001393/1.093, allocations: 0.9133 MB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/1.093, allocations: 2.25 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/1.093, allocations: 59.91 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005276/1.094, allocations: 150.7 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-05/1.094, allocations: 11.73 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/1.094, allocations: 375.4 kB / 1.092 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/1.094, allocations: 46.55 kB / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/1.095, allocations: 145.8 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/1.095, allocations: 132.8 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/1.095, allocations: 15.5 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/1.095, allocations: 15.28 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/1.095, allocations: 55.2 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/1.095, allocations: 134.9 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/1.096, allocations: 287.8 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.096, allocations: 2.141 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.096, allocations: 0 / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.096, allocations: 0 / 1.092 GB, free: 3.371 MB / 0.8575 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.001088/1.097, allocations: 0.6228 MB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.097, allocations: 10.22 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/1.097, allocations: 30.84 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/1.098, allocations: 390.5 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.098, allocations: 1.469 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.098, allocations: 5 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/1.098, allocations: 105.2 kB / 1.094 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.098, allocations: 4.875 kB / 1.094 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.098, allocations: 0 / 1.094 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.098, allocations: 5.469 kB / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/1.098, allocations: 67.03 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/1.098, allocations: 353.3 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/1.099, allocations: 106.1 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/1.099, allocations: 63.17 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/1.099, allocations: 0.7812 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/1.099, allocations: 45.33 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/1.099, allocations: 0 / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003985/1.099, allocations: 186.1 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.099, allocations: 131 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/1.1, allocations: 0.516 MB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/1.1, allocations: 29.7 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.1, allocations: 160.9 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/1.1, allocations: 14.42 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/1.1, allocations: 21.72 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.101, allocations: 346.3 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/1.101, allocations: 38.75 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/1.101, allocations: 64.39 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/1.101, allocations: 104.8 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.101, allocations: 0 / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002512/1.101, allocations: 142.9 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.101, allocations: 13.66 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.101, allocations: 1.812 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.101, allocations: 1.094 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.101, allocations: 10.8 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/1.101, allocations: 2.453 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/1.101, allocations: 13.92 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/1.101, allocations: 3.344 kB / 1.096 GB, free: 0.7852 MB / 0.8575 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.0001789/1.102, allocations: 177.9 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/1.102, allocations: 34.81 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/1.102, allocations: 185.3 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.102, allocations: 2.125 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.102, allocations: 2.266 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.102, allocations: 1.344 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.103, allocations: 312.8 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.103, allocations: 1.344 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/1.103, allocations: 14 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.103, allocations: 10.05 kB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/1.103, allocations: 1.875 kB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.103, allocations: 1.406 kB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.103, allocations: 2.781 kB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/1.103, allocations: 189.3 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.103, allocations: 148.1 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.103, allocations: 2.156 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.103, allocations: 14.41 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/1.103, allocations: 6.172 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/1.103, allocations: 7.156 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006069/1.104, allocations: 392.5 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.104, allocations: 0 / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002839/1.104, allocations: 37.19 kB / 1.097 GB, free: 15.85 MB / 0.8731 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.0001337/1.104, allocations: 110.6 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002312/1.105, allocations: 87.56 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.105, allocations: 0.5312 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/1.105, allocations: 42.95 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/1.105, allocations: 72.53 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/1.106, allocations: 0.6051 MB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/1.107, allocations: 0.8119 MB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/1.107, allocations: 21.62 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.107, allocations: 3.938 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.00838/1.115, allocations: 3.71 MB / 1.103 GB, free: 14.3 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches