Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 217.7 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.595/2.595, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.55 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2901, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002696/0.2928, allocations: 1.572 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001068/0.2929, allocations: 35.91 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.2929, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.293, allocations: 7.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.2931, allocations: 11.86 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.2932, allocations: 15.98 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.2933, allocations: 47.83 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2934, allocations: 31.5 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.2934, allocations: 19.92 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.2935, allocations: 31.84 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2935, allocations: 4 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2935, allocations: 12 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.2936, allocations: 15.92 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.2936, allocations: 31.8 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2937, allocations: 55.75 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2937, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2937, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2937, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003885/0.2941, allocations: 288.2 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2942, allocations: 12.03 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.2942, allocations: 42.73 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.2942, allocations: 8.891 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2944, allocations: 130.4 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2944, allocations: 4.375 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2944, allocations: 8.375 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.2946, allocations: 100.7 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2946, allocations: 3.938 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2946, allocations: 4 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2946, allocations: 8 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.2947, allocations: 35.98 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.2953, allocations: 0.6119 MB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.2954, allocations: 169.1 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.2954, allocations: 84.14 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.2955, allocations: 79.27 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.2955, allocations: 109.8 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2955, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.766e-05/0.2956, allocations: 43.34 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.2957, allocations: 130.7 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2958, allocations: 173.5 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2958, allocations: 25.7 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.2959, allocations: 100.1 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.2959, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.2959, allocations: 17.67 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2961, allocations: 322.8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.2961, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.2961, allocations: 30.56 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.2962, allocations: 34.45 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2962, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001111/0.2963, allocations: 53.59 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2963, allocations: 8.094 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2963, allocations: 7.922 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2963, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.2964, allocations: 4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2964, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.2964, allocations: 7.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.2964, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 0.0001121/0.2965, allocations: 193.9 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.2966, allocations: 116.9 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.2967, allocations: 120.7 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.673e-05/0.2967, allocations: 188.2 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/0.2968, allocations: 176.3 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.601e-05/0.2969, allocations: 184.2 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2971, allocations: 396.3 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/0.2972, allocations: 105 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.2972, allocations: 108.9 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.375e-05/0.2973, allocations: 180.3 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/0.2974, allocations: 188.1 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.04e-05/0.2974, allocations: 176.3 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.921e-05/0.2975, allocations: 180.3 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2977, allocations: 316 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.2977, allocations: 116.9 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.2978, allocations: 188.2 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.2979, allocations: 101 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.298, allocations: 184.2 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.298, allocations: 109 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.676e-05/0.2981, allocations: 123.2 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2981, allocations: 0 / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002075/0.2983, allocations: 8 kB / 1.291 GB, free: 3.375 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 (0): * Single equations (assignments): 0 * 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.0004678/0.2988, allocations: 0.8164 MB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.2989, allocations: 8 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2989, allocations: 0 / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.2989, allocations: 3.938 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2992, allocations: 463.9 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3007, allocations: 1.637 MB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.301, allocations: 0.6924 MB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.301, allocations: 7.984 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3011, allocations: 19.44 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3011, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3269, allocations: 1.81 MB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.55, allocations: 4.656 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.761894300998392]