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.007915/0.007915, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001712/0.001712, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.25 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2457, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00254/0.2482, allocations: 1.663 MB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2502, allocations: 1.372 MB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2504, allocations: 7.938 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.2507, allocations: 79.58 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2509, allocations: 75.52 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.2517, allocations: 283.2 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2519, allocations: 179.3 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.252, allocations: 10.05 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2521, allocations: 83.62 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.2522, allocations: 79.67 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2522, allocations: 8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000521/0.2528, allocations: 343.4 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.809e-05/0.2529, allocations: 71.73 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.253, allocations: 95.41 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.2535, allocations: 399.2 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2535, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2535, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.2535, allocations: 0 / 1.092 GB, free: 13.26 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.0008961/0.2544, allocations: 0.5606 MB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2545, allocations: 8.031 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.2545, allocations: 34.75 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.2546, allocations: 20.66 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.255, allocations: 283.6 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.2552, allocations: 67.95 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2552, allocations: 384 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2554, allocations: 89.59 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2554, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2554, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2555, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.2557, allocations: 103.9 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.256, allocations: 257.4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.2574, allocations: 294.4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2575, allocations: 56.83 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.2577, allocations: 105 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2577, allocations: 38.48 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.2577, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004885/0.2582, allocations: 209.3 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2583, allocations: 55.41 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.2586, allocations: 303.1 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2586, allocations: 25.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.2587, allocations: 120.6 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.2587, allocations: 27.64 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.2588, allocations: 53.69 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2589, allocations: 334.8 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2591, allocations: 155.9 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.2593, allocations: 155.9 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.2597, allocations: 293.6 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2597, allocations: 0 / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005221/0.2602, allocations: 404.7 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2603, allocations: 5.406 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.2603, allocations: 4 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2603, allocations: 3.984 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2604, allocations: 24.23 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2604, allocations: 0 / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2606, allocations: 35.53 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2606, 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.0001111/0.2607, allocations: 125.8 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.2607, allocations: 23.66 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.2611, allocations: 175.3 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2611, allocations: 0 / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2611, allocations: 0 / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2611, allocations: 0 / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2613, allocations: 233.5 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2613, allocations: 7.938 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.2614, allocations: 15.98 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2614, allocations: 0 / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2615, allocations: 8 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2615, allocations: 0 / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2615, allocations: 0 / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.2618, allocations: 184.7 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.2619, allocations: 108.7 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.2619, allocations: 8 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.262, allocations: 3.938 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2621, allocations: 7.984 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2621, allocations: 8 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001647/0.2623, 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.2623, allocations: 0 / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004074/0.2627, 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.001113/0.2638, allocations: 0.8813 MB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.2644, allocations: 363.2 kB / 1.098 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2644, allocations: 4 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2645, allocations: 63.91 kB / 1.098 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2649, allocations: 32.64 kB / 1.098 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.268, allocations: 2.665 MB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2683, allocations: 0.7357 MB / 1.102 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.298e-05/0.2685, allocations: 21.06 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.2685, allocations: 55.42 kB / 1.102 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2685, allocations: 4 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2921, allocations: 5.799 MB / 1.108 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.225, allocations: 10.88 kB / 1.108 GB, free: 13.03 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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:time,T,TExa,TMonotone,errMonotone,errNonMonotone