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.001459/0.001459, 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.001694/0.001694, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.216/2.216, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.5973, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002246/0.5996, allocations: 1.723 MB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.601, allocations: 1.368 MB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.6011, allocations: 4.031 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.6014, allocations: 78.97 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.6015, allocations: 78.73 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.6021, allocations: 252.4 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.6023, allocations: 184.2 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.6023, allocations: 11.14 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.774e-05/0.6024, allocations: 93.12 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.6025, allocations: 84.88 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.6025, allocations: 8.188 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.6029, allocations: 335.1 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.603, allocations: 74.66 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.6031, allocations: 88.14 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.6035, allocations: 398.5 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6035, allocations: 3.938 kB / 0.9539 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6035, allocations: 0 / 0.9539 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.6035, allocations: 0 / 0.9539 GB, free: 5.664 MB / 0.7169 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.0007154/0.6042, allocations: 0.5603 MB / 0.9544 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6043, allocations: 9.781 kB / 0.9544 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.6043, allocations: 35.94 kB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.6044, allocations: 25.81 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.6047, allocations: 280 kB / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.85e-05/0.6048, allocations: 62.89 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.6048, allocations: 2.875 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.605, allocations: 91.31 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.605, allocations: 0 / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.605, allocations: 4 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.605, allocations: 0.9688 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.6052, allocations: 103.8 kB / 0.955 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.6054, allocations: 249.3 kB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.6067, allocations: 303.6 kB / 0.9555 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.6068, allocations: 55.33 kB / 0.9556 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.6069, allocations: 105.1 kB / 0.9557 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.6069, allocations: 30.56 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6069, allocations: 1.219 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004117/0.6074, allocations: 212.1 kB / 0.9559 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.6074, allocations: 52.97 kB / 0.956 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.6076, allocations: 301.9 kB / 0.9563 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.6076, allocations: 25.7 kB / 0.9563 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.6077, allocations: 127.6 kB / 0.9564 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.6077, allocations: 15.38 kB / 0.9564 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.6078, allocations: 59.31 kB / 0.9565 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.6078, allocations: 333.2 kB / 0.9568 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.608, allocations: 155.8 kB / 0.9569 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.6082, allocations: 169.2 kB / 0.9571 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.6085, allocations: 292.7 kB / 0.9574 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6085, allocations: 0 / 0.9574 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004788/0.609, allocations: 403.7 kB / 0.9578 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.609, allocations: 10.27 kB / 0.9578 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.609, allocations: 6.094 kB / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6091, allocations: 1.125 kB / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.6092, allocations: 11.28 kB / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6092, allocations: 3.984 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.6093, allocations: 32.34 kB / 0.9578 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.6093, allocations: 2.125 kB / 0.9578 GB, free: 2.758 MB / 0.7169 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 7.435e-05/0.6094, allocations: 135.5 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.6094, allocations: 30.92 kB / 0.958 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.6097, allocations: 168.1 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6097, allocations: 0.9062 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6098, allocations: 0.9062 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6098, allocations: 8 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.6099, allocations: 238.4 kB / 0.9584 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6099, allocations: 3.938 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.61, allocations: 11.59 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.61, allocations: 1.125 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.61, allocations: 3.984 kB / 0.9584 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.61, allocations: 1.031 kB / 0.9584 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.61, allocations: 3.938 kB / 0.9584 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.6103, allocations: 178.9 kB / 0.9586 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.6104, allocations: 108.5 kB / 0.9587 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.6104, allocations: 1.094 kB / 0.9587 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.6105, allocations: 6.703 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.6105, allocations: 7.188 kB / 0.9587 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.6105, allocations: 10.11 kB / 0.9587 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001391/0.6107, allocations: 194 kB / 0.9589 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6107, allocations: 0 / 0.9589 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003351/0.611, allocations: 116 kB / 0.959 GB, free: 1.867 MB / 0.7169 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.0007553/0.6118, allocations: 0.8729 MB / 0.9599 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.6122, allocations: 359.2 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6123, allocations: 1.062 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.6124, allocations: 64.67 kB / 0.9603 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.6126, allocations: 39.5 kB / 0.9603 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.6152, allocations: 2.702 MB / 0.9629 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.6155, allocations: 0.7409 MB / 0.9637 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.137e-05/0.6155, allocations: 22.62 kB / 0.9637 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.6156, allocations: 59.09 kB / 0.9637 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.6156, allocations: 0.9688 kB / 0.9637 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.112/1.727, allocations: 5.589 MB / 0.9692 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.728, allocations: 221.1 kB / 0.9694 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.693, allocations: 0 / 0.9694 GB, free: 11.42 MB / 0.7325 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]