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.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 11.1.0-maint.11.x/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.596/2.596, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001826, allocations: 63.58 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002746/0.2743, allocations: 1.671 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2763, allocations: 1.383 MB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.2764, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.2767, allocations: 79.52 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2769, allocations: 71.59 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.2776, allocations: 288.2 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2778, allocations: 179.2 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.2778, allocations: 9.5 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2779, allocations: 79.69 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2781, allocations: 87.59 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2781, allocations: 8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.2786, allocations: 335.4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.2787, allocations: 67.8 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.2788, allocations: 91.36 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.2793, allocations: 402.9 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2793, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2793, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2793, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 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.0008522/0.2802, allocations: 0.5529 MB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2802, allocations: 12.03 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.2803, allocations: 34.73 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.2803, allocations: 24.66 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.2807, allocations: 275.7 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2808, allocations: 59.97 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.2809, allocations: 8.312 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2811, allocations: 89.58 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2811, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.2811, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2811, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.2814, allocations: 103.9 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.2816, allocations: 253.4 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.283, allocations: 294.3 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.2832, allocations: 60.83 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2833, allocations: 101 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2834, allocations: 42.5 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2834, allocations: 0 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004885/0.2839, allocations: 205.3 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.2839, allocations: 55.41 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.2842, allocations: 307.1 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2842, allocations: 25.7 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.2843, allocations: 116.6 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2844, allocations: 23.64 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.2844, allocations: 61.62 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2846, allocations: 330.8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.2848, allocations: 163.9 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.285, allocations: 152.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.2855, allocations: 293.6 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2855, allocations: 4 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005686/0.2861, allocations: 404.8 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2861, allocations: 8 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2861, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2861, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.2862, allocations: 19.92 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.2862, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2863, allocations: 39.53 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2864, allocations: 7.938 kB / 1.073 GB, free: 5.137 MB / 0.8262 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.0001078/0.2865, allocations: 129.8 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.2865, allocations: 23.66 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.2869, allocations: 171.4 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2869, allocations: 4 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2869, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2869, allocations: 3.938 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.2871, allocations: 233.5 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2871, allocations: 3.938 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.2872, allocations: 15.98 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2872, allocations: 0 / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2872, allocations: 4 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2872, allocations: 0 / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2872, allocations: 4 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.2876, allocations: 180.8 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.2877, allocations: 112.7 kB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.2877, allocations: 0 / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.2878, allocations: 8 kB / 1.073 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.2879, allocations: 11.92 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2879, allocations: 128 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001807/0.2881, allocations: 197.9 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2881, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003367/0.2884, allocations: 115.9 kB / 1.074 GB, free: 3.844 MB / 0.8262 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.2894, allocations: 0.8892 MB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005382/0.29, allocations: 367 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.29, allocations: 0 / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2901, allocations: 59.97 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2904, allocations: 30.3 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2934, allocations: 2.657 MB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2937, allocations: 0.7357 MB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.753e-05/0.2938, allocations: 25.06 kB / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.2939, allocations: 55.42 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.2939, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.3265, allocations: 5.75 MB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.86, allocations: 7.266 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB (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 --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) 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) "" 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]