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.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001808/0.001808, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.556/2.556, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 0.8686 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5447, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002561/0.5472, allocations: 1.73 MB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.5492, allocations: 1.401 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.5493, allocations: 7.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.5497, allocations: 79.59 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.5498, allocations: 63.64 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.5505, allocations: 227.4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.5507, allocations: 255.1 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.5508, allocations: 9.484 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.5509, allocations: 79.62 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.5511, allocations: 99.59 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.5511, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.5516, allocations: 355.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.5517, allocations: 67.78 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.5518, allocations: 95.36 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.5524, allocations: 398.9 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5524, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.22e-07/0.5524, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5524, allocations: 0 / 1.021 GB, free: 13.92 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.0008425/0.5532, allocations: 0.5529 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5533, allocations: 8.031 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.5533, allocations: 38.75 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.5534, allocations: 20.66 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.5537, allocations: 279.6 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5538, allocations: 67.89 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.5539, allocations: 4.375 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.5541, allocations: 93.58 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5541, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5541, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5541, allocations: 3.938 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.5544, allocations: 99.94 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.5546, allocations: 253.4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.5561, allocations: 302.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5563, allocations: 60.83 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.5564, allocations: 101 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.5564, allocations: 34.56 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5564, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004705/0.5569, allocations: 209.3 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.557, allocations: 55.39 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.5572, allocations: 307 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.5572, allocations: 33.64 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.5573, allocations: 112.6 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5573, allocations: 27.69 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.5574, allocations: 53.69 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5575, allocations: 342.8 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.5578, allocations: 151.9 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.558, allocations: 151.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.5583, allocations: 301.4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5584, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005723/0.5589, allocations: 397 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.559, allocations: 4 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.559, allocations: 0 / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.559, allocations: 4 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.5591, allocations: 19.92 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5591, allocations: 4 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.5592, allocations: 31.53 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5593, allocations: 3.938 kB / 1.025 GB, free: 9.605 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.0001049/0.5594, allocations: 130.3 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.5594, allocations: 23.66 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.5598, allocations: 175.4 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5598, allocations: 0 / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5598, allocations: 0 / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5598, allocations: 0 / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.56, allocations: 233.6 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.56, allocations: 3.938 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.5601, allocations: 19.92 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5601, allocations: 4 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5601, allocations: 4 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5601, allocations: 0 / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5601, allocations: 0 / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.5604, allocations: 177.1 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.5605, allocations: 116.7 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.5606, allocations: 4.062 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.5607, allocations: 7.938 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.5607, allocations: 11.98 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5607, allocations: 0 / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001634/0.5609, allocations: 197.9 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5609, allocations: 0 / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003705/0.5613, allocations: 108 kB / 1.027 GB, free: 8.312 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.0009196/0.5622, allocations: 0.8853 MB / 1.027 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.5627, allocations: 359.2 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5627, allocations: 0 / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.5629, allocations: 59.97 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5631, allocations: 32.58 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.5659, allocations: 2.721 MB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.5662, allocations: 0.7399 MB / 1.031 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.566e-05/0.5663, allocations: 17.08 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.5664, allocations: 55.42 kB / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5664, allocations: 0 / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.775/2.342, allocations: 5.506 MB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/2.342, allocations: 227 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/4.432, allocations: 0 / 1.037 GB, free: 13.71 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]