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.005039/0.005039, allocations: 105.6 kB / 15.74 MB, free: 6.008 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.001285/0.001285, allocations: 197.4 kB / 16.68 MB, free: 5.93 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.178/1.178, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.906/1.906, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6181, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00204/0.6201, allocations: 1.681 MB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.6216, allocations: 1.365 MB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.6217, allocations: 4.344 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.622, allocations: 86.41 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.6221, allocations: 73.88 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.6227, allocations: 278.4 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.6229, allocations: 186.7 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.623, allocations: 12.8 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.6231, allocations: 80.02 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.6232, allocations: 86.59 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.6232, allocations: 6.531 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.6237, allocations: 342.8 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.6238, allocations: 66.5 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.6239, allocations: 93.31 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.6243, allocations: 392.2 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6244, allocations: 1.766 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6244, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6244, allocations: 4 kB / 1.092 GB, free: 2.516 MB / 0.8575 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.0006747/0.625, allocations: 0.5578 MB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.6251, allocations: 9.406 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.6251, allocations: 32.64 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.6252, allocations: 29.69 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.6255, allocations: 279.3 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.6256, allocations: 61.03 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.6256, allocations: 2.438 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.6258, allocations: 97.89 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.6258, allocations: 0 / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.6258, allocations: 4.844 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.6258, allocations: 0.9062 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.6261, allocations: 100.9 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.6263, allocations: 248.6 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.6276, allocations: 293.1 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.6277, allocations: 61.8 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/0.6278, allocations: 105.2 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.6278, allocations: 40 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.6278, allocations: 0 / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004376/0.6283, allocations: 202.9 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.6283, allocations: 56.16 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.6286, allocations: 308.6 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.6286, allocations: 26.7 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.6286, allocations: 123 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.6287, allocations: 19.39 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.6287, allocations: 57.05 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.6288, allocations: 331.9 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.629, allocations: 153.7 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.6292, allocations: 162.3 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.6296, allocations: 291.4 kB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6296, allocations: 0.6094 kB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004895/0.6301, allocations: 403.2 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.6301, allocations: 5.094 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6301, allocations: 7.203 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.6301, allocations: 0.8125 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.6302, allocations: 14.61 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.6303, allocations: 0 / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.6304, allocations: 37.16 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6304, allocations: 7.031 kB / 1.096 GB, free: 15.99 MB / 0.8731 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 9.357e-05/0.6305, allocations: 128.3 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.6305, allocations: 24.31 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.6309, allocations: 168.5 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.6309, allocations: 4.516 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6309, allocations: 1.031 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.6309, allocations: 0.6562 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.6311, allocations: 241.3 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6311, allocations: 4.875 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.6312, allocations: 21.98 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6312, allocations: 1.156 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.6312, allocations: 1.062 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6312, allocations: 1.109 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6312, allocations: 1.094 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.6315, allocations: 188.2 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.6316, allocations: 109.8 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.6316, allocations: 0.7031 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.6317, allocations: 8.875 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.6318, allocations: 8.781 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.6318, allocations: 2.828 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001611/0.6319, allocations: 198.3 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6319, allocations: 0 / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000354/0.6323, allocations: 112.3 kB / 1.097 GB, free: 15.21 MB / 0.8731 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.0008466/0.6331, allocations: 0.8804 MB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.6336, allocations: 365.6 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6336, allocations: 0.875 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.6338, allocations: 57.48 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.634, allocations: 28.2 kB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.6369, allocations: 2.689 MB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.6371, allocations: 0.7425 MB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.5e-05/0.6372, allocations: 26.92 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.6373, allocations: 56.69 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.6373, allocations: 0 / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.067/4.704, allocations: 5.788 MB / 1.108 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/20.75, allocations: 13.3 kB / 1.108 GB, free: 11.4 MB / 0.8731 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]