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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006404/0.006404, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001757/0.001757, allocations: 196.4 kB / 16.68 MB, free: 5.973 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.511/2.511, allocations: 482.7 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001735, allocations: 67.25 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2795, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.0026/0.2821, allocations: 1.671 MB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.284, allocations: 1.361 MB / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.2841, allocations: 4 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.2845, allocations: 79.58 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.2846, allocations: 75.52 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.2852, allocations: 294.1 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.2855, allocations: 179.2 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.2855, allocations: 21.41 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2856, allocations: 75.75 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2858, allocations: 83.61 kB / 1.246 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.2858, allocations: 8 kB / 1.246 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.2863, allocations: 343.4 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.2864, allocations: 67.8 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.2865, allocations: 91.41 kB / 1.246 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.287, allocations: 410.5 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.287, allocations: 0 / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.287, allocations: 0 / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.287, allocations: 0 / 1.246 GB, free: 4.168 MB / 0.9669 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.0008133/0.2878, allocations: 0.568 MB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2879, allocations: 8.031 kB / 1.247 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.2879, allocations: 34.73 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.288, allocations: 24.8 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.2884, allocations: 283.8 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.2885, allocations: 71.89 kB / 1.247 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2885, allocations: 384 / 1.247 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2887, allocations: 93.53 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2887, allocations: 0 / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2887, allocations: 4 kB / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2887, allocations: 0 / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.289, allocations: 103.9 kB / 1.248 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.2892, allocations: 249.5 kB / 1.248 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.2905, allocations: 298.4 kB / 1.248 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2906, allocations: 64.77 kB / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.2908, allocations: 105 kB / 1.248 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2908, allocations: 30.56 kB / 1.248 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2908, allocations: 0 / 1.248 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004603/0.2913, allocations: 209.5 kB / 1.249 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2913, allocations: 51.41 kB / 1.249 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.2916, allocations: 307.2 kB / 1.249 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2916, allocations: 25.7 kB / 1.249 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.2917, allocations: 124.6 kB / 1.249 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2917, allocations: 15.8 kB / 1.249 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.2918, allocations: 65.69 kB / 1.249 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.292, allocations: 334.8 kB / 1.249 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.2922, allocations: 155.9 kB / 1.25 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.2924, allocations: 155.9 kB / 1.25 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.2928, allocations: 293.6 kB / 1.25 GB, free: 308 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2928, allocations: 0 / 1.25 GB, free: 308 kB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005249/0.2933, allocations: 401 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2933, allocations: 9.875 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2934, allocations: 4.141 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2934, allocations: 4 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.2935, allocations: 15.94 kB / 1.25 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2935, allocations: 3.984 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2936, allocations: 39.66 kB / 1.25 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2936, allocations: 4 kB / 1.25 GB, free: 15.82 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.0001061/0.2937, allocations: 130.3 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2938, allocations: 23.8 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.2941, allocations: 167.5 kB / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2941, allocations: 320 / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2941, allocations: 0 / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2941, allocations: 3.984 kB / 1.251 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2943, allocations: 237.6 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2943, allocations: 11.86 kB / 1.251 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.2944, allocations: 16 kB / 1.251 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2944, allocations: 3.938 kB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2945, allocations: 4 kB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2945, allocations: 4 kB / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2945, allocations: 0 / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.2948, allocations: 180.9 kB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.2949, allocations: 108.9 kB / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.2949, allocations: 0 / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.295, allocations: 7.984 kB / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.295, allocations: 4 kB / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.295, allocations: 0 / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001705/0.2952, allocations: 205.9 kB / 1.251 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2952, allocations: 0 / 1.251 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003338/0.2956, allocations: 115.8 kB / 1.252 GB, free: 14.52 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.0009517/0.2965, allocations: 0.8929 MB / 1.252 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.297, allocations: 355.2 kB / 1.253 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.297, allocations: 0 / 1.253 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2972, allocations: 59.97 kB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2974, allocations: 36.88 kB / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.3002, allocations: 2.684 MB / 1.256 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.3006, allocations: 0.7396 MB / 1.256 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.338e-05/0.3007, allocations: 29 kB / 1.256 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.3007, allocations: 55.42 kB / 1.256 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3008, allocations: 0 / 1.256 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9213/1.222, allocations: 5.796 MB / 1.262 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.43, allocations: 9.188 kB / 1.262 GB, free: 3.895 MB / 0.9825 GB (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 --timeout=400 --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) 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) "" 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]