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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001759/0.001759, allocations: 191 kB / 16.25 MB, free: 6.637 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.8689 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.541, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002578/0.5436, allocations: 1.731 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.5453, allocations: 1.366 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.5454, allocations: 7.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.5458, allocations: 83.56 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.5459, allocations: 67.66 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.5465, allocations: 251.4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.5467, allocations: 183.2 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.5467, allocations: 13.48 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.5468, allocations: 83.62 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.547, allocations: 95.61 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.547, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.5474, allocations: 335.4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.5475, allocations: 67.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.5476, allocations: 91.45 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.5481, allocations: 402.9 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.5481, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5481, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5481, allocations: 0 / 1.022 GB, free: 13.98 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.0007857/0.5489, allocations: 0.5529 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.5489, allocations: 8.031 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.549, allocations: 38.75 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.549, allocations: 24.64 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.5493, allocations: 283.6 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.5495, allocations: 59.97 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.5495, allocations: 4.375 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.5497, allocations: 93.58 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.5497, allocations: 4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.5497, allocations: 3.938 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5497, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.55, allocations: 95.94 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.5502, allocations: 253.4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.5516, allocations: 302.3 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5518, allocations: 56.83 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.5519, allocations: 101 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.5519, allocations: 38.55 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.5519, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004594/0.5524, allocations: 213.2 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5525, allocations: 51.41 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.5527, allocations: 307 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.5528, allocations: 29.7 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.5528, allocations: 124.5 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.5529, allocations: 27.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.5529, allocations: 53.69 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.553, allocations: 338.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.5533, allocations: 151.9 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.5535, allocations: 151.9 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.5539, allocations: 297.4 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5539, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005864/0.5545, allocations: 408.7 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5545, allocations: 8 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5545, allocations: 0 / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5545, allocations: 4 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.5546, allocations: 11.98 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.5546, allocations: 4 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5548, allocations: 31.53 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.5548, allocations: 0 / 1.026 GB, free: 9.66 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.0001065/0.5549, allocations: 134.3 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5549, allocations: 23.66 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.5553, allocations: 171.4 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5553, allocations: 320 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5553, allocations: 0 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5553, allocations: 0 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.5555, allocations: 245.5 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5555, allocations: 7.938 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.5556, allocations: 15.98 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5556, allocations: 0 / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.5556, allocations: 0 / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5556, allocations: 4 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5556, allocations: 0 / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.556, allocations: 188.7 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.556, allocations: 108.8 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.5561, allocations: 0 / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.5562, allocations: 4 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.5562, allocations: 11.98 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.5562, allocations: 0 / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000168/0.5564, allocations: 201.9 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5564, allocations: 3.938 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003343/0.5567, allocations: 112 kB / 1.027 GB, free: 8.352 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.0009274/0.5577, allocations: 0.8774 MB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.5582, allocations: 359.3 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5582, allocations: 0 / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5583, allocations: 67.91 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5586, allocations: 35.45 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.5614, allocations: 2.7 MB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5616, allocations: 0.7396 MB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.337e-05/0.5617, allocations: 29.36 kB / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.5618, allocations: 55.42 kB / 1.031 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.5618, allocations: 0 / 1.031 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.5776, allocations: 5.592 MB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.5778, allocations: 231.2 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.394, allocations: 0 / 1.037 GB, free: 13.7 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]