Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001217/0.001217, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001326/0.001326, allocations: 219.5 kB / 22.26 MB, free: 5.219 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 8.023 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.95/2.95, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_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.001859/0.001859, allocations: 62.75 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2918, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002714/0.2945, allocations: 1.703 MB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2966, allocations: 1.43 MB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.2967, allocations: 4 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.297, allocations: 83.53 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.2972, allocations: 79.58 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.2979, allocations: 279.2 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.2981, allocations: 183.2 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.2982, allocations: 5.688 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2983, allocations: 87.69 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2984, allocations: 95.58 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2985, allocations: 8 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.299, allocations: 359.4 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.2991, allocations: 63.8 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.2992, allocations: 99.39 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.2997, allocations: 394.6 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2997, allocations: 3.938 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2997, allocations: 0 / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2997, allocations: 0 / 1.358 GB, free: 3.625 MB / 1.045 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.0008183/0.3005, allocations: 496.5 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3005, allocations: 8.031 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.3006, allocations: 42.73 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.3006, allocations: 20.8 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.301, allocations: 218.7 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.3012, allocations: 145 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3012, allocations: 384 / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3014, allocations: 93.58 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3014, allocations: 4 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.3014, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.3014, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.3016, allocations: 103.9 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.3019, allocations: 220.6 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3032, allocations: 294.4 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3033, allocations: 56.83 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3034, allocations: 27.86 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3034, allocations: 34.56 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3034, allocations: 0 / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004695/0.3039, allocations: 209.4 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3039, allocations: 55.41 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3042, allocations: 308.3 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3042, allocations: 25.7 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.3043, allocations: 120.6 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3044, allocations: 27.84 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.3044, allocations: 57.69 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3046, allocations: 330.8 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.3048, allocations: 151.9 kB / 1.36 GB, free: 428 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.305, allocations: 155.9 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.3054, allocations: 301.3 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3054, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005375/0.3059, allocations: 401.1 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3059, allocations: 8 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.306, allocations: 4 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.306, allocations: 256 / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.3061, allocations: 19.98 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3061, allocations: 4 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3062, allocations: 31.67 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3062, allocations: 4 kB / 1.361 GB, free: 15.5 MB / 1.061 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.000117/0.3063, allocations: 137.8 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.3064, allocations: 27.73 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.3067, allocations: 171.5 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3067, allocations: 3.938 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3067, allocations: 0 / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3067, allocations: 4 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.3069, allocations: 208.6 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3069, allocations: 7.938 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.307, allocations: 19.98 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.307, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.307, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.307, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.307, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3073, allocations: 184.9 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.3074, allocations: 35.77 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.3074, allocations: 3.984 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.3075, allocations: 4 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.3075, allocations: 7.984 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3076, allocations: 4 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001775/0.3077, allocations: 199 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3077, allocations: 4 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003637/0.3081, allocations: 115.8 kB / 1.362 GB, free: 14.31 MB / 1.061 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.001005/0.3091, allocations: 0.8814 MB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.3096, allocations: 319.3 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3096, allocations: 0 / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3097, allocations: 59.91 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.31, allocations: 33.77 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.313, allocations: 2.697 MB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3134, allocations: 0.7396 MB / 1.367 GB, free: 9.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.829e-05/0.3135, allocations: 13.09 kB / 1.367 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.3136, allocations: 59.41 kB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3136, allocations: 4 kB / 1.367 GB, free: 9.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3471, allocations: 5.949 MB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.56, allocations: 1.875 kB / 1.373 GB, free: 3.578 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.5639262101613]