Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_10_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.000921/0.0009211, allocations: 91.84 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.00543/0.00543, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5624, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00164/0.5641, allocations: 1.385 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.566, allocations: 1.382 MB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.5661, allocations: 7.938 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.5664, allocations: 83.58 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.5666, allocations: 67.64 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.5671, allocations: 227.4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.5674, allocations: 255.1 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.5674, allocations: 13.48 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.5675, allocations: 71.64 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.5677, allocations: 99.59 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.5677, allocations: 4 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.5682, allocations: 359.4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.5683, allocations: 67.78 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.5684, allocations: 109.2 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.5688, allocations: 398.9 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5689, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5689, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5689, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.7794 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.000736/0.5696, allocations: 0.5374 MB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5697, allocations: 12.03 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.5697, allocations: 30.75 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.5698, allocations: 28.59 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.5701, allocations: 275.7 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-05/0.5702, allocations: 67.89 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.5702, allocations: 4.375 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5704, allocations: 93.59 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.5704, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5705, allocations: 4 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5705, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.5707, allocations: 107.9 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.5709, allocations: 245.5 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5723, allocations: 342.3 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.5725, allocations: 56.83 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.5726, allocations: 116.9 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.5727, allocations: 34.56 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5727, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004805/0.5731, allocations: 209.3 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.5732, allocations: 59.41 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.5735, allocations: 299.1 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5735, allocations: 29.64 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.5736, allocations: 124.5 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.5736, allocations: 23.73 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.5737, allocations: 41.69 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5738, allocations: 338.8 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.5741, allocations: 155.9 kB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.5743, allocations: 155.9 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.5747, allocations: 305.4 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5747, allocations: 0 / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005384/0.5753, allocations: 401.2 kB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5753, allocations: 10.03 kB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5753, allocations: 0 / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5753, allocations: 4 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.5754, allocations: 23.92 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5755, allocations: 0 / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.5756, allocations: 31.53 kB / 1.032 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5756, allocations: 7.984 kB / 1.032 GB, free: 6.961 MB / 0.7794 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.0001082/0.5757, allocations: 134.4 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.5757, allocations: 23.66 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.5761, allocations: 163.5 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.5761, allocations: 0 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5761, allocations: 11.94 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5761, allocations: 0 / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.5763, allocations: 237.5 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5763, allocations: 7.875 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.5764, allocations: 15.98 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5764, allocations: 0 / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.5764, allocations: 0 / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5764, allocations: 0 / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5765, allocations: 4 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.5768, allocations: 188.8 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.5769, allocations: 108.7 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.5769, allocations: 0 / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.577, allocations: 12 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.577, allocations: 11.92 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.577, allocations: 0 / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001663/0.5772, allocations: 201.9 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.5772, allocations: 0 / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003484/0.5776, allocations: 112 kB / 1.033 GB, free: 5.652 MB / 0.7794 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.0009535/0.5785, allocations: 0.8854 MB / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.579, allocations: 367.2 kB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5791, allocations: 0 / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.5792, allocations: 59.97 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.5795, allocations: 32.64 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.5823, allocations: 2.738 MB / 1.037 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.5826, allocations: 0.7399 MB / 1.037 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.119e-05/0.5827, allocations: 33.25 kB / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.5828, allocations: 55.42 kB / 1.037 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5828, allocations: 0 / 1.037 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.5989, allocations: 5.411 MB / 1.043 GB, free: 11.39 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.5992, allocations: 228.4 kB / 1.043 GB, free: 11.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.466, allocations: 0 / 1.043 GB, free: 11.14 MB / 0.795 GB (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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]