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.008134/0.008135, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001664/0.001665, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.509/2.509, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 60.12 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003585/1.093, allocations: 1.671 MB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002422/1.095, allocations: 1.366 MB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/1.095, allocations: 4 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004862/1.096, allocations: 87.52 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/1.096, allocations: 71.52 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/1.097, allocations: 280.4 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002933/1.098, allocations: 191.1 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/1.098, allocations: 9.5 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/1.098, allocations: 79.69 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/1.098, allocations: 91.69 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.098, allocations: 8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006681/1.099, allocations: 335.3 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/1.099, allocations: 67.78 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/1.099, allocations: 91.47 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000657/1.1, allocations: 394.9 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.1, allocations: 7.938 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/1.1, allocations: 0 / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.1, allocations: 0 / 1.171 GB, free: 15.06 MB / 0.9044 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.001007/1.101, allocations: 0.5567 MB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.101, allocations: 16.92 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/1.101, allocations: 34.75 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/1.101, allocations: 20.66 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/1.101, allocations: 279.6 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.101, allocations: 63.97 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.101, allocations: 4.375 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/1.102, allocations: 101.5 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.102, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.102, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.102, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/1.102, allocations: 103.9 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/1.102, allocations: 245.5 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/1.104, allocations: 298.4 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/1.104, allocations: 56.77 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.104, allocations: 112.9 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/1.104, allocations: 30.56 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/1.104, allocations: 0 / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0005275/1.105, allocations: 205.3 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.105, allocations: 59.39 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/1.105, allocations: 303.1 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/1.105, allocations: 29.7 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/1.105, allocations: 120.5 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/1.105, allocations: 15.8 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/1.105, allocations: 57.69 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.105, allocations: 338.8 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/1.106, allocations: 159.9 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/1.106, allocations: 155.9 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/1.106, allocations: 297.4 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.106, allocations: 0 / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005288/1.107, allocations: 400.8 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.107, allocations: 8 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.107, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.107, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/1.107, allocations: 19.92 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.107, allocations: 0 / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/1.107, allocations: 35.53 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.107, allocations: 4 kB / 1.175 GB, free: 10.74 MB / 0.9044 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.0001168/1.107, allocations: 133.8 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/1.107, allocations: 27.59 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/1.108, allocations: 167.4 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.108, allocations: 4 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/1.108, allocations: 0 / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.108, allocations: 0 / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/1.108, allocations: 241.8 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.108, allocations: 7.875 kB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/1.108, allocations: 19.98 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.108, allocations: 0 / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/1.108, allocations: 0 / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.108, allocations: 4 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.108, allocations: 4 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/1.108, allocations: 180.8 kB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/1.108, allocations: 108.7 kB / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/1.108, allocations: 0 / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/1.109, allocations: 12 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/1.109, allocations: 7.984 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.109, allocations: 0 / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001853/1.109, allocations: 201.9 kB / 1.176 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.109, allocations: 0 / 1.176 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004137/1.109, allocations: 112 kB / 1.176 GB, free: 9.434 MB / 0.9044 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.001069/1.11, allocations: 0.8774 MB / 1.177 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005184/1.111, allocations: 363.2 kB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.111, allocations: 0 / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/1.111, allocations: 59.97 kB / 1.177 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.111, allocations: 40.02 kB / 1.177 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.114, allocations: 2.696 MB / 1.18 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.115, allocations: 0.7357 MB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.834e-05/1.115, allocations: 17.08 kB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/1.115, allocations: 59.41 kB / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/1.115, allocations: 0 / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/1.141, allocations: 5.79 MB / 1.186 GB, free: 14.83 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/9.314, allocations: 15.62 kB / 1.186 GB, free: 14.82 MB / 0.92 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]