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.007036/0.007037, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001601/0.0016, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.557/2.557, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 61.38 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.312, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003064/0.3152, allocations: 1.671 MB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3175, allocations: 1.372 MB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.3177, allocations: 4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.3182, allocations: 87.52 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.3184, allocations: 67.58 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.3194, allocations: 279.2 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3197, allocations: 187.2 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.3197, allocations: 10.05 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.3199, allocations: 83.69 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3201, allocations: 83.61 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3201, allocations: 8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.3208, allocations: 347.4 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3209, allocations: 71.78 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.321, allocations: 95.36 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.3218, allocations: 391.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3218, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3218, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3218, allocations: 0 / 1.092 GB, free: 13.25 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.001214/0.323, allocations: 0.5529 MB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3231, allocations: 12.03 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.3232, allocations: 30.75 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.3232, allocations: 20.66 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.324, allocations: 295.6 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3241, allocations: 59.95 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3242, allocations: 4.375 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3244, allocations: 85.59 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3244, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3244, allocations: 8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3245, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.3247, allocations: 95.94 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3251, allocations: 253.4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.3264, allocations: 294.3 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.3267, allocations: 64.83 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.3268, allocations: 97.03 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3269, allocations: 42.48 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.3269, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005385/0.3274, allocations: 205.3 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.3275, allocations: 59.34 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.3278, allocations: 299.1 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3279, allocations: 29.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.328, allocations: 124.6 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.328, allocations: 19.66 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.3281, allocations: 65.62 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3282, allocations: 330.8 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3284, allocations: 155.9 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3287, allocations: 151.9 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.3291, allocations: 297.6 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3291, allocations: 0 / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007067/0.3298, allocations: 397 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3299, allocations: 13.66 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.3299, allocations: 0 / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.3299, allocations: 8 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3301, allocations: 19.98 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3301, allocations: 0 / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3302, allocations: 31.53 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3303, allocations: 7.984 kB / 1.096 GB, free: 8.926 MB / 0.8575 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.0001608/0.3304, allocations: 125.8 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.3305, allocations: 23.66 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.3309, allocations: 175.4 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3309, allocations: 4 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3309, allocations: 0 / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.331, allocations: 0 / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.3312, allocations: 237.5 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3312, allocations: 3.938 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.3313, allocations: 23.98 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3314, allocations: 0 / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3314, allocations: 0 / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3314, allocations: 0 / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3314, allocations: 0 / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.3317, allocations: 188.7 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3319, allocations: 112.7 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3319, allocations: 0 / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.332, allocations: 4 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.3321, allocations: 7.984 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3321, allocations: 4 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001999/0.3323, allocations: 193.9 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3323, allocations: 0 / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004693/0.3328, allocations: 115.9 kB / 1.097 GB, free: 7.633 MB / 0.8575 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.00122/0.334, allocations: 0.8815 MB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.3346, allocations: 363 kB / 1.098 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3346, allocations: 0 / 1.098 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3348, allocations: 59.97 kB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3351, allocations: 36.56 kB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3389, allocations: 2.673 MB / 1.101 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3393, allocations: 0.7357 MB / 1.102 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.3394, allocations: 33.3 kB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3396, allocations: 55.42 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of SimCode: time 9.62e-07/0.3396, allocations: 0 / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.3692, allocations: 5.851 MB / 1.108 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.538, allocations: 17.3 kB / 1.108 GB, free: 12.96 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]