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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008462/0.0008461, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005/0.005, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 8.844 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001386/0.2608, allocations: 1.391 MB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2625, allocations: 1.391 MB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.2625, allocations: 4 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.2629, allocations: 75.66 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.263, allocations: 75.58 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2635, allocations: 219.4 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.2637, allocations: 251.2 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.2638, allocations: 13.48 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.2639, allocations: 75.64 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.264, allocations: 95.59 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.264, allocations: 8 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.2645, allocations: 351.4 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.2646, allocations: 67.78 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.2647, allocations: 125.1 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.2651, allocations: 398.8 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2651, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2651, allocations: 4 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2651, allocations: 3.938 kB / 1.063 GB, free: 300 kB / 0.8106 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.0007184/0.2658, allocations: 0.5297 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2659, allocations: 15.97 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.2659, allocations: 34.75 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.266, allocations: 24.66 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2663, allocations: 275.6 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/0.2664, allocations: 63.97 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2664, allocations: 4.375 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2666, allocations: 93.58 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2666, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2667, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2667, allocations: 4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2669, allocations: 103.9 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.2671, allocations: 261.3 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2685, allocations: 338.4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.2686, allocations: 64.83 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.2687, allocations: 101 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.2688, allocations: 34.56 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2688, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004415/0.2692, allocations: 217.3 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2692, allocations: 59.33 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.2695, allocations: 295.2 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2695, allocations: 33.7 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2696, allocations: 112.5 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2696, allocations: 31.72 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.2697, allocations: 45.69 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.2698, allocations: 330.8 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.27, allocations: 159.9 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.2702, allocations: 155.9 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2706, allocations: 305.6 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2706, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005192/0.2711, allocations: 408.8 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2711, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2712, allocations: 4.25 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.2712, allocations: 0 / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.2713, allocations: 16 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2713, allocations: 3.984 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.2714, allocations: 39.53 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2714, allocations: 4 kB / 1.067 GB, free: 11.93 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 9.286e-05/0.2715, allocations: 129.8 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2716, allocations: 27.64 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.2719, allocations: 175.4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2719, allocations: 3.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2719, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2719, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2721, allocations: 233.6 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2721, allocations: 3.938 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.2722, allocations: 12 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2722, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2722, allocations: 7.984 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2722, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2722, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.2725, allocations: 188.7 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.2726, allocations: 108.8 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2727, allocations: 7.984 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.2727, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.2728, allocations: 7.922 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2728, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001563/0.273, allocations: 197.9 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.273, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003315/0.2733, allocations: 115.9 kB / 1.068 GB, free: 10.63 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.0009056/0.2742, allocations: 0.8854 MB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.2747, allocations: 367.3 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2747, allocations: 0 / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2748, allocations: 71.89 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2751, allocations: 30.89 kB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.2778, allocations: 2.73 MB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2781, allocations: 0.736 MB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.815e-05/0.2781, allocations: 21.16 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.2782, allocations: 63.36 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2782, allocations: 0 / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3205/0.5987, allocations: 5.413 MB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.599, allocations: 223.2 kB / 1.079 GB, free: 124 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.517, allocations: 0.5 kB / 1.079 GB, free: 124 kB / 0.8262 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=50 --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]