Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_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.007234/0.007234, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00206/0.00206, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.11 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2745, allocations: 162.2 MB / 1.241 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002628/0.2771, allocations: 1.673 MB / 1.243 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2791, allocations: 1.357 MB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.2792, allocations: 7.938 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.2796, allocations: 75.58 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.2797, allocations: 79.52 kB / 1.245 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006832/0.2804, allocations: 282.6 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.2806, allocations: 187.2 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.2807, allocations: 13.47 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2808, allocations: 87.62 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.2809, allocations: 83.66 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.281, allocations: 8 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005644/0.2815, allocations: 339.4 kB / 1.246 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.2816, allocations: 67.73 kB / 1.246 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.2818, allocations: 91.47 kB / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.2823, allocations: 398.6 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2823, allocations: 3.938 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2823, allocations: 0 / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2823, allocations: 0 / 1.246 GB, free: 4.602 MB / 0.9669 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.0008816/0.2832, allocations: 0.5775 MB / 1.247 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2833, allocations: 8.031 kB / 1.247 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.2833, allocations: 38.75 kB / 1.247 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.2834, allocations: 24.73 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.2838, allocations: 279.8 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2839, allocations: 63.91 kB / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2839, allocations: 384 / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2842, allocations: 101.6 kB / 1.247 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2842, allocations: 0 / 1.247 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2842, allocations: 4 kB / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2842, allocations: 0 / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.2845, allocations: 99.88 kB / 1.247 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.2848, allocations: 257.5 kB / 1.247 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.2862, allocations: 294.4 kB / 1.248 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2864, allocations: 56.83 kB / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.2865, allocations: 105 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2865, allocations: 30.56 kB / 1.248 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 4.709e-06/0.2865, allocations: 4 kB / 1.248 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004994/0.287, allocations: 209.4 kB / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.2871, allocations: 59.39 kB / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.2874, allocations: 299.2 kB / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2874, allocations: 25.7 kB / 1.248 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.2875, allocations: 120.6 kB / 1.249 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.2876, allocations: 27.78 kB / 1.249 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.2876, allocations: 57.64 kB / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2878, allocations: 334.8 kB / 1.249 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.288, allocations: 151.9 kB / 1.249 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.2883, allocations: 159.9 kB / 1.249 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.2887, allocations: 297.5 kB / 1.25 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2887, allocations: 0 / 1.25 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005827/0.2893, allocations: 408.9 kB / 1.25 GB, free: 328 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2893, allocations: 7.938 kB / 1.25 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.2894, allocations: 4 kB / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2894, allocations: 0 / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.2895, allocations: 15.98 kB / 1.25 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2895, allocations: 0 / 1.25 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2896, allocations: 31.67 kB / 1.25 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2896, allocations: 3.984 kB / 1.25 GB, free: 264 kB / 0.9669 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.0001178/0.2898, allocations: 137.8 kB / 1.25 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.2898, allocations: 27.73 kB / 1.25 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.2902, allocations: 171.3 kB / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2902, allocations: 0 / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2902, allocations: 0 / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2902, allocations: 4.312 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.2904, allocations: 233.6 kB / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2905, allocations: 7.938 kB / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/0.2906, allocations: 15.98 kB / 1.251 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2906, allocations: 3.938 kB / 1.251 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2906, allocations: 4 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2906, allocations: 0 / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2906, allocations: 0 / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.2909, allocations: 184.9 kB / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.291, allocations: 108.9 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.2911, allocations: 4 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.2912, allocations: 0 / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.2912, allocations: 11.98 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.2912, allocations: 8 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001917/0.2914, allocations: 193.9 kB / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2914, allocations: 0 / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003489/0.2918, allocations: 119.7 kB / 1.251 GB, free: 14.94 MB / 0.9825 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.001038/0.2928, allocations: 0.889 MB / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000546/0.2934, allocations: 363.2 kB / 1.252 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2934, allocations: 0 / 1.252 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.2936, allocations: 63.91 kB / 1.252 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2938, allocations: 30.77 kB / 1.253 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.297, allocations: 2.68 MB / 1.255 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2973, allocations: 0.7474 MB / 1.256 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.066e-05/0.2974, allocations: 21.31 kB / 1.256 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.2975, allocations: 67.41 kB / 1.256 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2975, allocations: 0 / 1.256 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.3242, allocations: 5.785 MB / 1.262 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.268, allocations: 6.094 kB / 1.262 GB, free: 4.316 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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