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.001809/0.001809, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.598/2.598, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 60.09 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2738, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002604/0.2765, allocations: 1.671 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2785, allocations: 1.364 MB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.2786, allocations: 4 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.279, allocations: 87.52 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.2792, allocations: 75.58 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.28, allocations: 275.2 kB / 1.17 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2802, allocations: 187.1 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.2803, allocations: 13.48 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.2804, allocations: 79.75 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2805, allocations: 87.61 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.2806, allocations: 4 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.2811, allocations: 347.4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.2812, allocations: 67.72 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2813, allocations: 91.47 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.2819, allocations: 398.5 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.2819, allocations: 3.984 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2819, allocations: 0 / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2819, allocations: 0 / 1.171 GB, free: 2.594 MB / 0.92 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.0008609/0.2828, allocations: 0.568 MB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2828, allocations: 8.031 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.2829, allocations: 38.75 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.2829, allocations: 24.8 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.2834, allocations: 291.7 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2835, allocations: 59.97 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2835, allocations: 4.375 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.2837, allocations: 97.58 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2838, allocations: 3.938 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.2838, allocations: 0 / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2838, allocations: 4 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.284, allocations: 91.94 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.2843, allocations: 257.5 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2856, allocations: 298.3 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.2857, allocations: 60.83 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.2858, allocations: 97.03 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2859, allocations: 34.56 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2859, allocations: 0 / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004655/0.2863, allocations: 213.5 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2864, allocations: 51.41 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.2867, allocations: 303.1 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2867, allocations: 25.7 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.2868, allocations: 124.6 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2868, allocations: 27.78 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.2869, allocations: 61.64 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.287, allocations: 330.8 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.2872, allocations: 155.9 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.2874, allocations: 167.5 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2878, allocations: 281.5 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2878, allocations: 0 / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005089/0.2883, allocations: 409.3 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2884, allocations: 4 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.2884, allocations: 4 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2884, allocations: 0 / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.2885, allocations: 19.92 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2885, allocations: 3.938 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2886, allocations: 31.67 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2887, allocations: 4 kB / 1.175 GB, free: 14.25 MB / 0.9356 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.0001038/0.2888, allocations: 133.8 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2888, allocations: 23.8 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.2892, allocations: 175.6 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2892, allocations: 0 / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2892, allocations: 0 / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2892, allocations: 8 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.2894, allocations: 241.6 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2894, allocations: 3.938 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.2895, allocations: 15.98 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2895, allocations: 0 / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2895, allocations: 0 / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2895, allocations: 0 / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2895, allocations: 3.938 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.2898, allocations: 184.9 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.2899, allocations: 108.9 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.29, allocations: 3.938 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.29, allocations: 7.984 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.2901, allocations: 7.984 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2901, allocations: 4 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001567/0.2903, allocations: 201.9 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2903, allocations: 0 / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003725/0.2906, allocations: 115.7 kB / 1.176 GB, free: 12.93 MB / 0.9356 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.0009503/0.2916, allocations: 0.8774 MB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.2921, allocations: 359.2 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2921, allocations: 4 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2923, allocations: 55.97 kB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2925, allocations: 37.14 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.2954, allocations: 2.697 MB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2956, allocations: 0.7396 MB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.2957, allocations: 17.06 kB / 1.181 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.2958, allocations: 63.42 kB / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.2958, allocations: 4.094 kB / 1.181 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3184, allocations: 5.79 MB / 1.186 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.035, allocations: 8.688 kB / 1.186 GB, free: 2.324 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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:time,T,TExa,TMonotone,errMonotone,errNonMonotone