Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_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.008299/0.008299, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001678/0.001678, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.721/2.721, allocations: 390.2 MB / 0.6648 GB, free: 92 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 65.7 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 140.4 MB / 1.087 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002857/0.27, allocations: 1.681 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2722, allocations: 1.36 MB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.2724, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.2728, allocations: 91.56 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.273, allocations: 71.53 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000908/0.2739, allocations: 276.2 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.2742, allocations: 191.2 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.2743, allocations: 10.06 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.2744, allocations: 83.69 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2746, allocations: 83.61 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2746, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.2753, allocations: 343.4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.2754, allocations: 71.72 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2755, allocations: 99.41 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.2761, allocations: 391.2 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2762, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2762, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.2762, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 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.001214/0.2774, allocations: 0.5568 MB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/0.2775, allocations: 12.03 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.2775, allocations: 30.75 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.394e-05/0.2776, allocations: 20.66 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.2783, allocations: 291.6 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.2785, allocations: 55.97 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.2785, allocations: 4.375 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.2787, allocations: 93.58 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2788, allocations: 3.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2788, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2788, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.2791, allocations: 99.94 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.2795, allocations: 257.4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.281, allocations: 290.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.2812, allocations: 60.83 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.2813, allocations: 97.03 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2814, allocations: 46.5 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2814, allocations: 3.938 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005578/0.282, allocations: 201.3 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.282, allocations: 55.41 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.2823, allocations: 307.1 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2824, allocations: 29.7 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.2825, allocations: 116.6 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.2825, allocations: 27.64 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.2826, allocations: 57.69 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2827, allocations: 330.8 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.283, allocations: 151.9 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.2832, allocations: 159.9 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.2836, allocations: 293.6 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2836, allocations: 4 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000559/0.2842, allocations: 400.8 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2842, allocations: 4 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2842, allocations: 4 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2842, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2844, allocations: 19.98 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2844, allocations: 3.938 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2845, allocations: 35.53 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2846, allocations: 4 kB / 1.096 GB, free: 8.844 MB / 0.8575 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.0001358/0.2847, allocations: 133.8 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.2847, allocations: 23.66 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.2851, allocations: 163.5 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2852, allocations: 4 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2852, allocations: 4 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2852, allocations: 0 / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.2854, allocations: 237.5 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2854, allocations: 3.938 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.2855, allocations: 19.98 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2856, allocations: 0 / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2856, allocations: 3.938 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2856, allocations: 0 / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2856, allocations: 0 / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.2859, allocations: 185.1 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.286, allocations: 112.7 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2861, allocations: 3.938 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.2862, allocations: 4 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.2862, allocations: 7.984 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2862, allocations: 8 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001927/0.2864, allocations: 193.9 kB / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2864, allocations: 0 / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000439/0.2869, allocations: 115.9 kB / 1.097 GB, free: 7.547 MB / 0.8575 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.001149/0.288, allocations: 0.8813 MB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.2886, allocations: 363 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2886, allocations: 0 / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.2888, allocations: 59.91 kB / 1.098 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2891, allocations: 32.58 kB / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.2922, allocations: 2.673 MB / 1.101 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.2926, allocations: 0.7396 MB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.367e-05/0.2927, allocations: 21.08 kB / 1.102 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2928, allocations: 59.41 kB / 1.102 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.2928, allocations: 3.938 kB / 1.102 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.3194, allocations: 5.791 MB / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/8.979, allocations: 8.938 kB / 1.108 GB, free: 12.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]