Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.001853/0.001853, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002633/0.002633, allocations: 219 kB / 22.26 MB, free: 5.125 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.02/3.02, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.002153/0.002153, allocations: 67.69 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 169.9 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003357/0.361, allocations: 1.716 MB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.3633, allocations: 1.415 MB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.3634, allocations: 7.938 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.3638, allocations: 83.58 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.364, allocations: 71.52 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.3648, allocations: 288.3 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.365, allocations: 191.1 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.3651, allocations: 9.625 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3652, allocations: 87.69 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.3654, allocations: 83.66 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3654, allocations: 4 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.366, allocations: 367.4 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.3661, allocations: 63.73 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.3662, allocations: 91.47 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3667, allocations: 394.6 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3668, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009408/0.3677, allocations: 494.6 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3677, allocations: 8.031 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.3678, allocations: 38.75 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.3678, allocations: 32.69 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.3683, allocations: 214.7 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.3685, allocations: 145.1 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3685, allocations: 4.375 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3687, allocations: 89.53 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3687, allocations: 4 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3687, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3687, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.369, allocations: 107.9 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.3693, allocations: 220.6 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.3707, allocations: 290.4 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3709, allocations: 60.77 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.371, allocations: 31.81 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.371, allocations: 34.56 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.371, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005476/0.3716, allocations: 205.5 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3716, allocations: 59.41 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3719, allocations: 308.3 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.372, allocations: 25.7 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.3721, allocations: 124.5 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3721, allocations: 19.86 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.3722, allocations: 53.69 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3723, allocations: 334.8 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.3726, allocations: 159.9 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.3729, allocations: 155.9 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.3733, allocations: 289.6 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3733, allocations: 3.938 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006532/0.374, allocations: 404.9 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.374, allocations: 7.938 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.374, allocations: 3.984 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.374, allocations: 4 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.3741, allocations: 12 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3741, allocations: 7.938 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3743, allocations: 43.61 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.3743, allocations: 0 / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001739/0.3745, allocations: 126.6 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3745, allocations: 23.8 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.3749, allocations: 171.5 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3749, allocations: 0 / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3749, allocations: 0 / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3749, allocations: 3.984 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.3752, allocations: 204.6 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3753, allocations: 3.938 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3754, allocations: 19.92 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3754, allocations: 0 / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3754, allocations: 4 kB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3754, allocations: 0 / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3754, allocations: 4.156 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.3757, allocations: 185.2 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.3758, allocations: 31.78 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3758, allocations: 4 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.3759, allocations: 4 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.376, allocations: 11.98 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.376, allocations: 0 / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001964/0.3762, allocations: 199 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3762, allocations: 3.938 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004249/0.3766, allocations: 115.8 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.001169/0.3778, allocations: 0.8813 MB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005393/0.3783, allocations: 323.2 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3783, allocations: 0 / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3784, allocations: 51.97 kB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3787, allocations: 42.62 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.3822, allocations: 2.702 MB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.3826, allocations: 0.7396 MB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.862e-05/0.3827, allocations: 21.06 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.3828, allocations: 55.42 kB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3828, allocations: 0 / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4198, allocations: 5.957 MB / 1.303 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 10.19 kB / 1.303 GB, free: 6.805 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TExa,TMonotone,TdMonotone[1],TdMonotone[2],TdMonotone[3],TdMonotone[4],TdMonotone[5],TdMonotone[6],Td[1],Td[2],Td[3],Td[4],Td[5],Td[6],dTCha,dT_duMonotone[1],dT_duMonotone[2],dT_duMonotone[3],dT_duMonotone[4],dT_duMonotone[5],dT_duMonotone[6],dT_du[1],dT_du[2],dT_du[3],dT_du[4],dT_du[5],dT_du[6],errMonotone,errNonMonotone,materialMonotone.LHea,materialMonotone.R,materialMonotone.TLiq,materialMonotone.TSol,materialMonotone.c,materialMonotone.d,materialMonotone.k,materialMonotone.nSta,materialMonotone.nStaReal,materialMonotone.nStaRef,materialMonotone.piMat,materialMonotone.piRef,materialMonotone.steadyState,materialMonotone.x,materialNonMonotone.LHea,materialNonMonotone.R,materialNonMonotone.TLiq,materialNonMonotone.TSol,materialNonMonotone.c,materialNonMonotone.d,materialNonMonotone.k,materialNonMonotone.nSta,materialNonMonotone.nStaReal,materialNonMonotone.nStaRef,materialNonMonotone.piMat,materialNonMonotone.piRef,materialNonMonotone.steadyState,materialNonMonotone.x,time,u,udMonotone[1],udMonotone[2],udMonotone[3],udMonotone[4],udMonotone[5],udMonotone[6],ud[1],ud[2],ud[3],ud[4],ud[5],ud[6] [Calling sys.exit(0), Time elapsed: 19.38410352705978]